ActiveSupport::EncryptedConfiguration::InvalidContentError (original) (raw)

Methods

M

N

Class Public methods

Source: show | on GitHub

File activesupport/lib/active_support/encrypted_configuration.rb, line 37

def initialize(content_path) super "Invalid YAML in '#{content_path}'." end

Instance Public methods

Source: show | on GitHub

File activesupport/lib/active_support/encrypted_configuration.rb, line 41

def message cause.is_a?(Psych::SyntaxError) ? "#{super}\n\n #{cause.message}" : super end