X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/5762b7f0f8d33eda021da908b6ddced684a2ba05..1259672feb4fcad189d413a341745990a844feda:/client-libraries/ruby/lib/pipeline.rb diff --git a/client-libraries/ruby/lib/pipeline.rb b/client-libraries/ruby/lib/pipeline.rb deleted file mode 100644 index acab5acc..00000000 --- a/client-libraries/ruby/lib/pipeline.rb +++ /dev/null @@ -1,22 +0,0 @@ -require "redis" - -class Redis - class Pipeline < Redis - BUFFER_SIZE = 50_000 - - def initialize(redis) - @redis = redis - @commands = [] - end - - def call_command(command) - @commands << command - end - - def execute - @redis.call_command(@commands) - @commands.clear - end - - end -end