method
read_entry
v3.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::Strategy::LocalCache
read_entry(key, options)protected
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 121
def read_entry(key, options) # :nodoc:
if local_cache
entry = local_cache.read_entry(key, options)
unless entry
entry = super
local_cache.write_entry(key, entry, options)
end
entry
else
super
end
end