Sha256: 65cfb7f5f1801e710f8b50bfaa41576dcc20e8b3b7522b56d74f4335a63df0e1
Contents?: true
Size: 241 Bytes
Versions: 2
Compression:
Stored size: 241 Bytes
Contents
class Kredis::Proxy def initialize(redis, key) @redis, @key = redis, key end def multi(...) @redis.multi(...) end def method_missing(method, *args, **kwargs) @redis.public_send method, @key, *args, **kwargs end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kredis-0.1.1 | lib/kredis/proxy.rb |
kredis-0.1.0 | lib/kredis/proxy.rb |