Class: MR::PipeTransport::PipeOut
- Inherits:
-
Coolio::IO
- Object
- Coolio::IO
- MR::PipeTransport::PipeOut
- Defined in:
- lib/pmux/mros.rb
Instance Method Summary collapse
-
#initialize(ruby_io) ⇒ PipeOut
constructor
A new instance of PipeOut.
- #on_readable ⇒ Object
- #send_data(data) ⇒ Object
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_readable ⇒ Object
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 |