free_mutant/lib/mutant/reporter/cli.rb
Markus Schirp dbc6455ae1 Finish cli reporter refactoring
Readds mutation reporting
2013-06-21 23:52:57 +02:00

24 lines
433 B
Ruby

module Mutant
class Reporter
# Reporter that reports in human readable format
class CLI < self
include Concord::Public.new(:output)
NL = "\n".freeze
# Report object
#
# @param [Object] object
#
# @return [self]
#
# @api private
#
def report(object)
Printer.visit(object, output)
self
end
end # CLI
end # Reporter
end # Mutant