Method: ActiveSupport::EncryptedConfiguration::InvalidKeyError#initialize

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

#initialize(content_path, key) ⇒ InvalidKeyError

Returns a new instance of InvalidKeyError.



47
48
49
# File 'activesupport/lib/active_support/encrypted_configuration.rb', line 47

def initialize(content_path, key)
  super "Key '#{key}' is invalid, it must respond to '#to_sym' from configuration in '#{content_path}'."
end