method

increment

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

Increment an integer value in the cache.

Options are passed to the underlying cache implementation.

All implementations may not support this method.