method
increment
v4.1.8 -
Show latest stable
- Class:
ActiveSupport::Cache::Strategy::LocalCache
increment(name, amount = 1, options = nil)public
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 87
def increment(name, amount = 1, options = nil) # :nodoc:
value = bypass_local_cache{super}
increment_or_decrement(value, name, amount, options)
value
end