Sha256: 8e52a329f2a99843089729bee15eef6c77ac865457a69277de1355f61830474d
Contents?: true
Size: 288 Bytes
Versions: 10
Compression:
Stored size: 288 Bytes
Contents
class Trifle module InitializeWithRedis attr_accessor :redis attr_accessor :key def initialize redis, options = {} raise ArgumentError.new("Redis-like object expected") unless redis self.redis = redis self.key = options[:key] || "trifle" end end end
Version data entries
10 entries across 10 versions & 1 rubygems