class Redis::Lua::Script
Attributes
name[R]
sha[R]
text[R]
Public Class Methods
new(name, text)
click to toggle source
# File lib/redis/lua.rb, line 48 def initialize(name, text) @name = name.to_sym @text = text.dup.freeze @sha = Digest::SHA1.hexdigest(text).freeze end