Refactoring

This commit is contained in:
Dzmitry Plashchynski
2015-03-05 15:17:34 +02:00
parent 59e71e89f3
commit 0f32f8a5a4
7 changed files with 35 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ module Crono
def every(period, *args)
job = Job.new(@performer, Period.new(period, *args))
@scheduler.add(job)
@scheduler.add_job(job)
end
end