method
read_entry
rails latest stable - Class:
ActiveSupport::Cache::Strategy::LocalCache
read_entry(key, **options)private
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 131
def read_entry(key, **options)
if cache = local_cache
hit = true
value = cache.fetch_entry(key) do
hit = false
super
end
options[:event][:store] = cache.class.name if hit && options[:event]
value
else
super
end
end