free_mutant/lib/mutant/reporter/cli.rb

25 lines
433 B
Ruby
Raw Normal View History

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
2013-06-14 14:54:02 -04:00
end # CLI
end # Reporter
end # Mutant