Sha256: fd92c25aaaa57bc671435eb99d0afac3bb30a63481133b15d5faa6404f7fd871

Contents?: true

Size: 309 Bytes

Versions: 4

Compression:

Stored size: 309 Bytes

Contents

# frozen_string_literal: true

class ActiveRedisDB::Script < ActiveRedisDB::Base
  class << self

    def script(command, *args)
      client.script(command, args)
    end

    def eval(*args)
      client.eval(:eval, args)
    end

    def evalsha(*args)
      client.eval(:evalsha, args)
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_redis_db-1.1.0 lib/active_redis_db/script.rb
active_redis_db-1.0.2 lib/active_redis_db/script.rb
active_redis_db-1.0.1 lib/active_redis_db/script.rb
active_redis_db-1.0.0 lib/active_redis_db/script.rb