class ActiveSupport::Cache::Store

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

All implementations may not support this method.

Options are passed to the underlying cache implementation.

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