free_mutant/lib/mutant/reporter.rb

38 lines
590 B
Ruby
Raw Normal View History

module Mutant
# Abstract base class for reporters
class Reporter
include Adamantium::Flat, AbstractType
# Write warning message
#
# @param [String] message
#
# @return [self]
#
# @api private
#
abstract_method :warn
# Report object
#
# @param [Object] object
#
# @return [self]
#
# @api private
#
abstract_method :report
# Report progress on object
#
# @param [Object] object
#
# @return [self]
#
# @api private
#
abstract_method :progress
2013-06-14 14:54:02 -04:00
end # Reporter
end # Mutant