2013-12-20 06:46:28 +00:00

18 lines
297 B
Ruby

module Producer
module Core
class Recipe
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
end
end
end