class ActiveSupport::Cache::Store

def decrement(name, amount = 1, options = nil)

All implementations may not support this method.

Options are passed to the underlying cache implementation.

Decrement an integer value in the cache.
def decrement(name, amount = 1, options = nil)
  raise NotImplementedError.new("#{self.class.name} does not support decrement")
end