free_mutant/lib/mutant/reporter/null.rb

35 lines
522 B
Ruby
Raw Normal View History

module Mutant
class Reporter
# Null reporter
class Null < self
include Equalizer.new
# Report object
#
# @param [Object] _object
#
# @return [self]
#
# @api private
#
def report(_object)
self
end
# Report progress on object
#
# @param [Object] _object
#
# @return [self]
#
# @api private
#
def progress(_object)
self
end
2013-06-14 14:54:02 -04:00
end # Null
end # Reporter
end # Mutant