Class: Lite::Redis::Script

Inherits:
Base
  • Object
show all
Defined in:
lib/lite/redis/script.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize, method_missing, #respond_to_method?, #respond_to_missing?

Constructor Details

This class inherits a constructor from Lite::Redis::Base

Instance Method Details

#eval(*args) ⇒ Object



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

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

#evalsha(*args) ⇒ Object



15
16
17
# File 'lib/lite/redis/script.rb', line 15

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

#script(command, *args) ⇒ Object



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

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