Class: EMPessimistic::Popen3StderrHandler

Inherits:
EventMachine::Connection
  • Object
show all
Defined in:
lib/em_pessimistic/popen3.rb

Instance Method Summary collapse

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