Class: ActiveOrm::Redis::Script

Inherits:
ActiveOrm::Redis show all
Defined in:
lib/active_orm/redis/script.rb

Instance Attribute Summary

Attributes inherited from ActiveOrm::Redis

#client

Attributes inherited from Base

#configuration

Class Method Summary collapse

Methods inherited from ActiveOrm::Redis

client, #initialize

Methods included from Base

#evaluate, #evaluate?

Methods inherited from Base

configuration, configuration=, configure

Constructor Details

This class inherits a constructor from ActiveOrm::Redis

Class Method Details

.eval(*args) ⇒ Object



7
8
9
# File 'lib/active_orm/redis/script.rb', line 7

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

.evalsha(*args) ⇒ Object



11
12
13
# File 'lib/active_orm/redis/script.rb', line 11

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

.script(command, *args) ⇒ Object



3
4
5
# File 'lib/active_orm/redis/script.rb', line 3

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