method

decrement

rails latest stable - Class: ActiveSupport::Cache::Store
decrement(name, amount = 1, options = nil)
public

Decrements an integer value in the cache.

Options are passed to the underlying cache implementation.

Some implementations may not support this method.