Method: Redis::Commands::Keys#persist
- Defined in:
- lib/redis/commands/keys.rb
#persist(key) ⇒ Boolean
Remove the expiration from a key.
68 69 70 |
# File 'lib/redis/commands/keys.rb', line 68 def persist(key) send_command([:persist, key], &Boolify) end |