free_mutant/lib/mutant/reporter/cli.rb
Dan Kubb 7293386c26 Add magic encoding header to all ruby files
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
2013-07-28 16:03:06 -07:00

26 lines
452 B
Ruby

# encoding: utf-8
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