Improve coding standards
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
module Producer
|
||||
module Core
|
||||
class Recipe
|
||||
attr_accessor :tasks
|
||||
|
||||
def self.evaluate_from_file(filepath, env)
|
||||
DSL.evaluate(File.read(filepath), env)
|
||||
class << self
|
||||
def evaluate_from_file(filepath, env)
|
||||
DSL.evaluate(File.read(filepath), env)
|
||||
end
|
||||
end
|
||||
|
||||
attr_accessor :tasks
|
||||
|
||||
def initialize(tasks = [])
|
||||
@tasks = tasks
|
||||
end
|
||||
|
Reference in New Issue
Block a user