Class: Mutant::Mutation::GenerationError Private

Inherits:
Object
  • Object
show all
Defined in:
lib/mutant/mutation.rb

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

Constant Summary collapse

MESSAGE =

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

<<~'MESSAGE'
  === Mutation-Generation-Error ===
  This is a mutant internal issue detected by a mutant internal cross check.
  Please report an issue with the details below.

  Subject: %<subject_identification>s.

  Mutation-Source-Diff:
  %<mutation_source_diff>s

  Mutation-Node-Diff:
  %<mutation_node_diff>s

  Unparser-Validation:
  %<unparser_validation>s
MESSAGE

Instance Method Summary collapse

Instance Method Details

#reportObject

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.



32
33
34
35
36
37
38
39
# File 'lib/mutant/mutation.rb', line 32

def report
  MESSAGE % {
    mutation_source_diff:,
    mutation_node_diff:,
    subject_identification: subject.identification,
    unparser_validation:    unparser_validation.report
  }
end