method
increment
v3.2.13 -
Show latest stable
- Class:
ActiveSupport::Cache::MemCacheStore
increment(name, amount = 1, options = nil)public
Increment a cached value. This method uses the memcached incr atomic operator and can only be used on values written with the :raw option. Calling it on a value not stored with :raw will initialize that value to zero.