SimpleDelegator
# File lib/rack/attack/store_proxy/redis_store_proxy.rb, line 29 def increment(key, amount, options={}) count = nil self.pipelined do count = self.incrby(key, amount) self.expire(key, options[:expires_in]) if options[:expires_in] end count.value if count rescue Redis::BaseError end
Generated with the Darkfish Rdoc Generator 2.