Method: AnyCache::Adapters::Redis#persist

Defined in:
lib/any_cache/adapters/redis.rb

#persist(key, **options) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

  • key (String)
  • options (Hash)

Since:

  • 0.1.0



240
241
242
# File 'lib/any_cache/adapters/redis.rb', line 240

def persist(key, **options)
  driver.persist(key)
end