Sha256: b82e07cd720f5497d188c554df2ed96cca578ef231c91ccd5897184fb1be33b9

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

class Redis
  class Pipeline
    attr :commands

    def initialize
      @commands = []
    end

    def call(*args)
      @commands << args
      nil
    end

    def call_pipelined(commands, options = {})
      @commands.concat commands
      nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redis-2.2.0 lib/redis/pipeline.rb