lib/clockwork.rb in clockwork-0.6.1 vs lib/clockwork.rb in clockwork-0.6.2

- old
+ new

@@ -16,9 +16,13 @@ def handler(&block) @@manager.handler(&block) end + def error_handler(&block) + @@manager.error_handler(&block) + end + def on(event, options={}, &block) @@manager.on(event, options, &block) end def every(period, job, options={}, &block)