free_mutant/lib/mutant/reporter.rb

57 lines
837 B
Ruby
Raw Normal View History

module Mutant
# Abstract reporter
class Reporter
2012-11-26 05:30:00 -05:00
include Adamantium::Flat, AbstractType
# Report subject
#
# @param [Subject] subject
#
# @return [self]
#
# @api private
#
abstract_method :subject
# Report mutation
#
# @param [Mutation] mutation
#
# @return [self]
#
# @api private
#
abstract_method :mutation
# Report notice
#
# @param [String] notice
#
# @return [self]
#
# @api private
#
abstract_method :notice
# Report killer
#
# @param [Killer] killer
#
# @return [self]
#
# @api private
#
abstract_method :killer
# Report config
#
# @param [Mutant::Config] config
#
# @return [self]
#
# @api private
#
abstract_method :config
end
end