instance method
read_entry
Ruby on Rails 6.0.6
Since v5.2.8.1 Last seen in v6.1.7.10 PrivateSignature
read_entry(key, **options)
No documentation comment.
Parameters
-
keyreq -
optionskeyrest
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 122
def read_entry(key, **options)
if cache = local_cache
cache.fetch_entry(key) { super }
else
super
end
end
Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 122
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Strategy::LocalCache