Class: Fluent::Tranquility::Writer
- Inherits:
-
Object
- Object
- Fluent::Tranquility::Writer
- Defined in:
- lib/fluent/tranquility/writer.rb
Instance Attribute Summary collapse
-
#pusher ⇒ Object
Returns the value of attribute pusher.
Instance Method Summary collapse
Instance Attribute Details
#pusher ⇒ Object
Returns the value of attribute pusher.
4 5 6 |
# File 'lib/fluent/tranquility/writer.rb', line 4 def pusher @pusher end |
Instance Method Details
#call(chunk) ⇒ Object
6 7 8 |
# File 'lib/fluent/tranquility/writer.rb', line 6 def call(chunk) pusher.call(chunk.read) end |