Class: MR::PipeTransport::PipeOut

Inherits:
Coolio::IO
  • Object
show all
Defined in:
lib/pmux/mros.rb

Instance Method Summary collapse

Constructor Details

#initialize(ruby_io) ⇒ PipeOut

Returns a new instance of PipeOut.



173
174
175
176
# File 'lib/pmux/mros.rb', line 173

def initialize ruby_io
  @ruby_io = ruby_io
  super ruby_io
end

Instance Method Details

#on_readableObject



178
179
# File 'lib/pmux/mros.rb', line 178

def on_readable
end

#send_data(data) ⇒ Object



181
182
183
# File 'lib/pmux/mros.rb', line 181

def send_data data
  @ruby_io.write data
end