lib/redis_cluster/client.rb in redis_cluster-0.2.0 vs lib/redis_cluster/client.rb in redis_cluster-0.2.1
- old
+ new
@@ -33,9 +33,15 @@
end
end
end
end
+ Configuration::SUPPORT_SINGLE_NODE_METHODS.each do |method_name|
+ define_method method_name do |*args|
+ execute(method_name, args)
+ end
+ end
+
def method_missing(method, *args, &block)
execute(method, args)
end
private