Class: Fluent::Test::TestOutputChain

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/test/output_test.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTestOutputChain

Returns a new instance of TestOutputChain.



24
25
26
# File 'lib/fluent/test/output_test.rb', line 24

def initialize
  @called = 0
end

Instance Attribute Details

#calledObject (readonly)

Returns the value of attribute called.



32
33
34
# File 'lib/fluent/test/output_test.rb', line 32

def called
  @called
end

Instance Method Details

#nextObject



28
29
30
# File 'lib/fluent/test/output_test.rb', line 28

def next
  @called += 1
end