method
check_key_length
v7.0.0 -
Show latest stable
- Class:
ActiveSupport::EncryptedFile
check_key_length()private
No documentation available.
# File activesupport/lib/active_support/encrypted_file.rb, line 113
def check_key_length
raise InvalidKeyLengthError if key&.length != self.class.expected_key_length
end