method

read

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: EncryptedFile
read() public

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/encrypted_file.rb, line 52
    def read
      if !key.nil? && content_path.exist?
        decrypt content_path.binread
      else
        raise MissingContentError, content_path
      end
    end
Register or log in to add new notes.