Class: Germinate::SimplePublisher
- Defined in:
- lib/germinate/simple_publisher.rb
Instance Method Summary collapse
Methods inherited from Publisher
identifier, #initialize, #input, make, register_publisher_type
Constructor Details
This class inherits a constructor from Germinate::Publisher
Instance Method Details
#publish!(output, extra_options = {}) ⇒ Object
2 3 4 5 6 |
# File 'lib/germinate/simple_publisher.rb', line 2 def publish!(output, ={}) input.each do |line| output.puts(line) end end |