Method: ActiveSupport::EncryptedFile::InvalidKeyLengthError#initialize

Defined in:
activesupport/lib/active_support/encrypted_file.rb

#initializeInvalidKeyLengthError

Returns a new instance of InvalidKeyLengthError.



24
25
26
# File 'activesupport/lib/active_support/encrypted_file.rb', line 24

def initialize
  super "Encryption key must be exactly #{EncryptedFile.expected_key_length} characters."
end