Add Crono.config

This commit is contained in:
Dzmitry Plashchynski
2015-03-03 18:39:26 +02:00
parent 5059f3f5e8
commit b301b95ae5
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ module Crono
end
def every(period, *args)
Config.instance.schedule.add(@performer, Period.new(period, *args))
Crono.config.schedule.add(@performer, Period.new(period, *args))
end
end