Class: IronChef::Writer::Streaming
- Inherits:
-
Object
- Object
- IronChef::Writer::Streaming
- Defined in:
- lib/iron_chef/writer/streaming.rb
Instance Method Summary collapse
- #all_output_collected ⇒ Object
- #collect_output(host, data) ⇒ Object
-
#initialize(logger) ⇒ Streaming
constructor
A new instance of Streaming.
Constructor Details
#initialize(logger) ⇒ Streaming
Returns a new instance of Streaming.
4 5 6 |
# File 'lib/iron_chef/writer/streaming.rb', line 4 def initialize(logger) @logger = logger end |
Instance Method Details
#all_output_collected ⇒ Object
12 13 |
# File 'lib/iron_chef/writer/streaming.rb', line 12 def all_output_collected end |
#collect_output(host, data) ⇒ Object
8 9 10 |
# File 'lib/iron_chef/writer/streaming.rb', line 8 def collect_output(host, data) @logger.debug data, host end |