lib/redis_cluster/node.rb in redis_cluster-0.2.3 vs lib/redis_cluster/node.rb in redis_cluster-0.2.4
- old
+ new
@@ -28,11 +28,11 @@
def asking
execute(:asking)
end
- def execute(method, args)
- connection.public_send(method, *args)
+ def execute(method, args, &block)
+ connection.public_send(method, *args, &block)
end
def connection
@connection ||= self.class.redis(@options)
end