36 lines
541 B
Ruby
36 lines
541 B
Ruby
# encoding: utf-8
|
|
|
|
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
|
|
|
|
end # Null
|
|
end # Reporter
|
|
end # Mutant
|