Class: Fluent::Tranquility::Writer

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/tranquility/writer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pusherObject

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