Commit 26ad0941 authored by Rajko Albrecht's avatar Rajko Albrecht

namespaced variant of "watch"

parent e8688cc2
......@@ -4,6 +4,7 @@ require 'redis/store_with_cas/cas'
require 'redis/store_with_cas/version'
require 'redis/store/marshalling'
require 'redis/store/namespace'
require 'redis/store_with_cas/namespace'
class Redis
class Store < self
......
class Redis
class Store < self
module Namespace
def watch *keys
if keys.any?
super(*keys.map {|key| interpolate(key) })
end
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment