Module: Redis::Store::Interface
- Included in:
- Redis::Store
- Defined in:
- lib/redis/store/interface.rb
Instance Method Summary collapse
- #get(key, options = nil) ⇒ Object
- #set(key, value, options = nil) ⇒ Object
- #setnx(key, value, options = nil) ⇒ Object
Instance Method Details
#get(key, options = nil) ⇒ Object
4 5 6 |
# File 'lib/redis/store/interface.rb', line 4 def get(key, = nil) super(key) end |
#set(key, value, options = nil) ⇒ Object
8 9 10 |
# File 'lib/redis/store/interface.rb', line 8 def set(key, value, = nil) super(key, value) end |
#setnx(key, value, options = nil) ⇒ Object
12 13 14 |
# File 'lib/redis/store/interface.rb', line 12 def setnx(key, value, = nil) super(key, value) end |