class Fluent::Compat::CopyOutputChain

Private Instance Methods

next() click to toggle source
# File lib/fluent/compat/output_chain.rb, line 49
def next
  if @array.length <= @offset
    return @chain.next
  end
  @offset += 1
  es = @array.length > @offset ? @es.dup : @es
  @array[@offset-1].emit_events(@tag, es)
  self.next
end