instance method
read_key_file
Ruby on Rails 7.0.10
Since v5.2.8.1 PrivateSignature
read_key_file()
No documentation comment.
Source
# File activesupport/lib/active_support/encrypted_file.rb, line 115
def read_key_file
return @key_file_contents if defined?(@key_file_contents)
@key_file_contents = (key_path.binread.strip if key_path.exist?)
end
Defined in activesupport/lib/active_support/encrypted_file.rb line 115
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EncryptedFile