class method
self.new
Ruby on Rails 8.0.4
Since v6.1.7.10Signature
self.new()
No documentation comment.
Source
# File activesupport/lib/active_support/encrypted_file.rb, line 24
def initialize
super "Encryption key must be exactly #{EncryptedFile.expected_key_length} characters."
end
Defined in activesupport/lib/active_support/encrypted_file.rb line 24
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EncryptedFile::InvalidKeyLengthError