Method: Moneta::Stack#increment

Defined in:
lib/moneta/stack.rb

#increment(key, amount = 1, options = {}) ⇒ Object



64
65
66
67
68
# File 'lib/moneta/stack.rb', line 64

def increment(key, amount = 1, options = {})
  last = nil
  @stack.each { |s| last = s.increment(key, amount, options) }
  last
end