class Shapkeep::Wrapper
Attributes
shapkeep[R]
Public Class Methods
new(script_file, redis)
click to toggle source
Calls superclass method
# File lib/shapkeep/wrapper.rb, line 9 def initialize(script_file, redis) super(redis) @shapkeep = Shapkeep.new(script_file) end
Public Instance Methods
eval(*args)
click to toggle source
# File lib/shapkeep/wrapper.rb, line 14 def eval(*args) __getobj__.eval(*args) end
eval_script(script_name, keys = [], args = [])
click to toggle source
# File lib/shapkeep/wrapper.rb, line 18 def eval_script(script_name, keys = [], args = []) shapkeep.eval(redis, script_name, keys, args) end
redis()
click to toggle source
# File lib/shapkeep/wrapper.rb, line 22 def redis __getobj__ end