method
decrement
v7.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::Strategy::LocalCache
decrement(name, amount = 1, **options)public
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 100
def decrement(name, amount = 1, **options) # :nodoc:
return super unless local_cache
value = bypass_local_cache { super }
write_cache_value(name, value, raw: true, **options)
value
end