Class: Harness::FakeCollector::Decrement

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



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

def amount
  @amount
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#rateObject

Returns the value of attribute rate

Returns:

  • (Object)

    the current value of rate



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

def rate
  @rate
end