method
read_serialized_entry
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::Cache::FileStore
read_serialized_entry(key, **)private
No documentation available.
# File activesupport/lib/active_support/cache/file_store.rb, line 103
def read_serialized_entry(key, **)
File.binread(key) if File.exist?(key)
rescue => error
logger.error("FileStoreError (#{error}): #{error.message}") if logger
nil
end