Class: EventMachine::YieldBlockFromSpawnedProcess
- Inherits:
-
Object
- Object
- EventMachine::YieldBlockFromSpawnedProcess
- Defined in:
- lib/em/spawnable.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(block, notify) ⇒ YieldBlockFromSpawnedProcess
constructor
A new instance of YieldBlockFromSpawnedProcess.
- #pull_out_yield_block ⇒ Object
Constructor Details
#initialize(block, notify) ⇒ YieldBlockFromSpawnedProcess
Returns a new instance of YieldBlockFromSpawnedProcess.
63 64 65 |
# File 'lib/em/spawnable.rb', line 63 def initialize block, notify @block = [block,notify] end |
Instance Method Details
#pull_out_yield_block ⇒ Object
66 67 68 |
# File 'lib/em/spawnable.rb', line 66 def pull_out_yield_block @block end |