Class: Fluent::CopyOutputChain
- Inherits:
-
OutputChain
- Object
- OutputChain
- Fluent::CopyOutputChain
- Defined in:
- lib/fluent/output.rb
Instance Method Summary collapse
Methods inherited from OutputChain
Constructor Details
This class inherits a constructor from Fluent::OutputChain
Instance Method Details
#next ⇒ Object
48 49 50 51 52 53 54 55 56 |
# File 'lib/fluent/output.rb', line 48 def next if @array.length <= @offset return @chain.next end @offset += 1 es = @array.length > @offset ? @es.dup : @es result = @array[@offset-1].emit(@tag, es, self) result end |