class method
self.new
Ruby on Rails edge
Since v7.1.6Signature
self.new(content_path)
No documentation comment.
Parameters
-
content_pathreq
Source
# File activesupport/lib/active_support/encrypted_configuration.rb, line 41
def initialize(content_path)
super "Invalid YAML in '#{content_path}'."
end
Defined in activesupport/lib/active_support/encrypted_configuration.rb line 41
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EncryptedConfiguration::InvalidContentError