method
read
v6.1.3.1 -
Show latest stable
- Class:
ActiveSupport::EncryptedFile
read()public
No documentation available.
# 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