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, **options)
  node_for(key).getex(key, **options)
end