Rename Worker class as Interpreter

This commit is contained in:
Thibault Jouan
2013-08-16 19:30:51 +00:00
parent 5a4c8c02bc
commit e4a4211a7b
5 changed files with 20 additions and 20 deletions

View File

@@ -1,13 +0,0 @@
module Producer
module Core
class Worker
def process(tasks)
tasks.each { |t| process_task t }
end
def process_task(task)
task.actions.each(&:apply)
end
end
end
end