lib/celluloid/system_events.rb in celluloid-0.14.0 vs lib/celluloid/system_events.rb in celluloid-0.14.1.pre
- old
+ new
@@ -55,9 +55,10 @@
# Signal a condition
class SignalConditionRequest < SystemEvent
def initialize(task, value)
@task, @value = task, value
end
+ attr_reader :task, :value
def call
@task.resume(@value)
end
end