module Redis::Store::Namespace
Add namespaced methods missing in #Redis::Store
Public Instance Methods
watch(*keys)
click to toggle source
redis.watch for a list of keys respecting the namespace for keys of the Redis::Store
instance @param keys Array a list of keys to watch @see Redis::Store::watch in redis-store-gem @see Redis::watch in redis-gem
Calls superclass method
# File lib/redis/store-with-cas/namespace.rb, line 10 def watch *keys if keys.any? super(*keys.map {|key| interpolate(key) }) end end