lib/redis/namespace.rb in redis-namespace-1.2.1 vs lib/redis/namespace.rb in redis-namespace-1.2.2
- old
+ new
@@ -208,9 +208,13 @@
def keys(query = nil)
query.nil? ? super("*") : super
end
+ def exec
+ method_missing(:exec)
+ end
+
def method_missing(command, *args, &block)
handling = COMMANDS[command.to_s] ||
COMMANDS[ALIASES[command.to_s]]
# redis-namespace does not know how to handle this command.