Files
producer-core/lib/producer/core/interpreter.rb
T

14 lines
222 B
Ruby

module Producer
module Core
class Interpreter
def process(tasks)
tasks.each { |t| process_task t }
end
def process_task(task)
task.actions.each(&:apply)
end
end
end
end