Class: VER::Buffer::Console::Process
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- VER::Buffer::Console::Process
- Defined in:
- lib/ver/buffer/console.rb
Instance Attribute Summary collapse
-
#callback ⇒ Object
Returns the value of attribute callback.
Instance Method Summary collapse
Instance Attribute Details
#callback ⇒ Object
Returns the value of attribute callback.
7 8 9 |
# File 'lib/ver/buffer/console.rb', line 7 def callback @callback end |
Instance Method Details
#receive_data(data) ⇒ Object
9 10 11 |
# File 'lib/ver/buffer/console.rb', line 9 def receive_data(data) callback.on_stdout(data) end |
#unbind ⇒ Object
13 14 15 |
# File 'lib/ver/buffer/console.rb', line 13 def unbind callback.closed end |