method

increment

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

Increments an already existing integer value that is stored in the cache. If the key is not found nothing is done.