lib/redis/namespace.rb in redis-namespace-1.0.3 vs lib/redis/namespace.rb in redis-namespace-1.0.4
- old
+ new
@@ -172,9 +172,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.