instance method
read_entry
Ruby on Rails 7.1.6
Since v3.0.20 PrivateSignature
read_entry(key, **options)
No documentation comment.
Parameters
-
keyreq -
optionskeyrest
Source
# File activesupport/lib/active_support/cache/file_store.rb, line 95
def read_entry(key, **options)
if payload = read_serialized_entry(key, **options)
entry = deserialize_entry(payload)
entry if entry.is_a?(Cache::Entry)
end
end
Defined in activesupport/lib/active_support/cache/file_store.rb line 95
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::FileStore