Class: VER::Buffer::Console::Stderr
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- VER::Buffer::Console::Stderr
- Defined in:
- lib/ver/buffer/console.rb
Instance Attribute Summary collapse
-
#callback ⇒ Object
Returns the value of attribute callback.
Instance Method Summary collapse
-
#initialize(stderr) ⇒ Stderr
constructor
A new instance of Stderr.
- #receive_data(data) ⇒ Object
Constructor Details
#initialize(stderr) ⇒ Stderr
Returns a new instance of Stderr.
21 22 23 |
# File 'lib/ver/buffer/console.rb', line 21 def initialize(stderr) @stderr = stderr end |
Instance Attribute Details
#callback ⇒ Object
Returns the value of attribute callback.
19 20 21 |
# File 'lib/ver/buffer/console.rb', line 19 def callback @callback end |
Instance Method Details
#receive_data(data) ⇒ Object
25 26 27 |
# File 'lib/ver/buffer/console.rb', line 25 def receive_data(data) callback.on_stderr(data) end |