Flowdock
method

read_entry

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActiveSupport::Cache::FileStore
read_entry(key, options) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/file_store.rb, line 68
        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
Register or log in to add new notes.