method
read
v5.2.3 -
Show latest stable
- Class:
ActiveSupport::EncryptedFile
read()public
No documentation available.
# File activesupport/lib/active_support/encrypted_file.rb, line 40
def read
if !key.nil? && content_path.exist?
decrypt content_path.binread
else
raise MissingContentError, content_path
end
end