class Redis

def queue(*command)


See http://redis.io/topics/pipelining for more details.

Commands in the queue are executed with the Redis#commit method.

Queues a command for pipelining.
def queue(*command)
  synchronize do
    @queue[Thread.current.object_id] << command
  end
end