Class: Mutant::Reporter::CLI::Report::MutationRunner

Inherits:
Mutant::Reporter::CLI::Report show all
Defined in:
lib/mutant/reporter/cli/report/mutation.rb

Overview

Subject report printer

Instance Method Summary collapse

Methods inherited from Printer

run

Methods included from Delegator

included

Instance Method Details

#runself

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.

Run report printer

Returns:

  • (self)


82
83
84
85
86
87
88
# File 'lib/mutant/reporter/cli/report/mutation.rb', line 82

def run
  visit(object.mutation)
  if object.mutation.kind_of?(Mutant::Mutation::Neutral::Noop)
    report_noop
  end
  self
end