method
read_entry
v4.2.9 -
Show latest stable
- Class:
ActiveSupport::Cache::FileStore
read_entry(key, options)protected
No documentation available.
# File activesupport/lib/active_support/cache/file_store.rb, line 69
def read_entry(key, options)
file_name = key_file_path(key)
if File.exist?(file_name)
File.open(file_name) { |f| Marshal.load(f) }
end
rescue => e
logger.error("FileStoreError (#{e}): #{e.message}") if logger
nil
end