跳至内容 跳至搜索
方法
M
N

类公共方法

new(content_path)

# File activesupport/lib/active_support/encrypted_configuration.rb, line 37
def initialize(content_path)
  super "Invalid YAML in '#{content_path}'."
end

实例公共方法

message()

# File activesupport/lib/active_support/encrypted_configuration.rb, line 41
def message
  cause.is_a?(Psych::SyntaxError) ? "#{super}\n\n  #{cause.message}" : super
end