Class: Harness::FakeCollector::Increment

Inherits:
Struct
  • Object
show all
Defined in:
lib/harness/fake_collector.rb

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



3
4
5
# File 'lib/harness/fake_collector.rb', line 3

def amount
  @amount
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/harness/fake_collector.rb', line 3

def name
  @name
end

#rateObject

Returns the value of attribute rate

Returns:

  • (Object)

    the current value of rate



3
4
5
# File 'lib/harness/fake_collector.rb', line 3

def rate
  @rate
end