free_mutant/lib/mutant/reporter/null.rb
Markus Schirp 90fade2ca5 Drastically simplify reporter public interface
The new one is simply: Mutant::Reporter#report(object)

Where object is one of:

Mutant::Subject
Mutant::Mutation
Mutant::Config
Mutant::Runner::Config (final and stats report)
2013-04-20 20:47:07 +02:00

21 lines
273 B
Ruby

module Mutant
class Reporter
# Null reporter
class Null < self
# Report object
#
# @param [Object] _object
#
# @return [self]
#
# @api private
#
def report(_object)
self
end
end
end
end