方法
類別公開方法
new(content_path) 連結
來源:顯示 | 在 GitHub 上
# File activesupport/lib/active_support/encrypted_configuration.rb, line 37 def initialize(content_path) super "Invalid YAML in '#{content_path}'." end
實體公開方法
訊息() 連結
來源:顯示 | 在 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