Protocol::Redis SourceProtocolRedisMethodsScripting

module Scripting

Definitions

def eval(*arguments)

Execute a Lua script server side. Depends on the script that is executed.

Implementation

def eval(*arguments)
	call("EVAL", *arguments)
end

def evalsha(*arguments)

Execute a Lua script server side. Depends on the script that is executed.

Implementation

def evalsha(*arguments)
	call("EVALSHA", *arguments)
end

def script(subcommand, *arguments)

Execute script management commands

Implementation

def script(subcommand, *arguments)
	call("SCRIPT", subcommand.to_s, *arguments)
end