class AnyCache::Adapters::ActiveSupportNaiveStore::Persist
@api private @since 0.1.0
Public Instance Methods
call(key)
click to toggle source
@param key [String] @return [void]
@api private @since 0.1.0
# File lib/any_cache/adapters/active_support_naive_store/persist.rb, line 12 def call(key) fetch_entry(key).tap do |entry| write(key, entry.value, expires_in: NO_EXPIRATION_TTL) if entry end end