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