# File lib/redis/store/namespace.rb, line 24 def decrby(key, increment) namespace(key) { |key| super(key, increment) } end
# File lib/redis/store/namespace.rb, line 32 def del(*keys) super *keys.map {|key| interpolate(key) } if keys.any? end
# File lib/redis/store/namespace.rb, line 16 def exists(key) namespace(key) { |key| super(key) } end
# File lib/redis/store/namespace.rb, line 44 def flushdb del *keys end
# File lib/redis/store/namespace.rb, line 12 def get(key, options = nil) namespace(key) { |key| super(key, options) } end
# File lib/redis/store/namespace.rb, line 20 def incrby(key, increment) namespace(key) { |key| super(key, increment) } end
# File lib/redis/store/namespace.rb, line 28 def keys(pattern = "*") namespace(pattern) { |pattern| super(pattern).map{|key| strip_namespace(key) } } end
# File lib/redis/store/namespace.rb, line 36 def mget(*keys) super *keys.map {|key| interpolate(key) } if keys.any? end
# File lib/redis/store/namespace.rb, line 4 def set(key, val, options = nil) namespace(key) { |key| super(key, val, options) } end
Generated with the Darkfish Rdoc Generator 2.