Method: Mutant::Transform::Error#compact_message

Defined in:
lib/mutant/transform.rb

#compact_messageString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Compact error message

Returns:

  • (String)


37
38
39
# File 'lib/mutant/transform.rb', line 37

def compact_message
  COMPACT % { path:, message: trace.last.message }
end