method
decrement
decrement(key, amount = 1)
public
Hide source
# File activesupport/lib/active_support/cache.rb, line 202 def decrement(key, amount = 1) log("decrementing", key, amount) if num = read(key) write(key, num - amount) else nil end end