Class: EMPessimistic::Popen3StderrHandler
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- EMPessimistic::Popen3StderrHandler
- Defined in:
- lib/em_pessimistic/popen3.rb
Instance Method Summary collapse
-
#initialize(connection) ⇒ Popen3StderrHandler
constructor
A new instance of Popen3StderrHandler.
- #receive_data(data) ⇒ Object
Constructor Details
#initialize(connection) ⇒ Popen3StderrHandler
Returns a new instance of Popen3StderrHandler.
33 34 35 |
# File 'lib/em_pessimistic/popen3.rb', line 33 def initialize(connection) @connection = connection end |
Instance Method Details
#receive_data(data) ⇒ Object
37 38 39 |
# File 'lib/em_pessimistic/popen3.rb', line 37 def receive_data(data) @connection.receive_stderr(data) end |