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.

"=== Mutation-Generation-Error ===\nThis is a mutant internal issue detected by a mutant internal cross check.\nPlease report an issue with the details below.\n\nSubject: %<subject_identification>s.\n\nMutation-Source-Diff:\n%<mutation_source_diff>s\n\nMutation-Node-Diff:\n%<mutation_node_diff>s\n\nUnparser-Validation:\n%<unparser_validation>s\n"

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