lib/celluloid/system_events.rb in celluloid-0.17.2 vs lib/celluloid/system_events.rb in celluloid-0.17.3

- old
+ new

@@ -108,10 +108,12 @@ @task = task @value = value end attr_reader :task, :value - handler(&:call) + handler do |event| + event.call + end def call @task.resume(@value) end end