Method: Redis::Distributed#getex
- Defined in:
- lib/redis/distributed.rb
#getex(key, **options) ⇒ Object
Get the value of a key and sets its time to live based on options.
329 330 331 |
# File 'lib/redis/distributed.rb', line 329 def getex(key, **) node_for(key).getex(key, **) end |