Method: ChefApply::Text::ErrorTranslation#inspect
- Defined in:
- lib/chef_apply/text/error_translation.rb
#inspect ⇒ Object
50 51 52 53 54 55 56 57 |
# File 'lib/chef_apply/text/error_translation.rb', line 50 def inspect inspection = "#{self}: " ATTRIBUTES.each do |attribute| inspection << "#{attribute}: #{send(attribute.to_s)}; " end inspection << "message: #{message.gsub("\n", "\\n")}" inspection end |