zscheduler 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zscheduler/version.rb +1 -1
- data/lib/zscheduler.rb +1 -1
- metadata +1 -1
data/lib/zscheduler/version.rb
CHANGED
data/lib/zscheduler.rb
CHANGED
@@ -9,7 +9,7 @@ module Zscheduler
|
|
9
9
|
|
10
10
|
reactor_running? or start_reactor
|
11
11
|
|
12
|
-
add_shutdown_hook block if options[:on_shutdown]
|
12
|
+
add_shutdown_hook &block if options[:on_shutdown]
|
13
13
|
block.call if options[:immediately]
|
14
14
|
|
15
15
|
timers.push EM::PeriodicTimer.new(Integer frequency) do
|