Class: EventMachine::YieldBlockFromSpawnedProcess

Inherits:
Object
  • Object
show all
Defined in:
lib/em/spawnable.rb

Instance Method Summary collapse

Constructor Details

#initialize(block, notify) ⇒ YieldBlockFromSpawnedProcess

Returns a new instance of YieldBlockFromSpawnedProcess.



64
65
66
# File 'lib/em/spawnable.rb', line 64

def initialize block, notify
	@block = [block,notify]
end

Instance Method Details

#pull_out_yield_blockObject



67
68
69
# File 'lib/em/spawnable.rb', line 67

def pull_out_yield_block
	@block
end