2012-08-15 22:10:54 -04:00
|
|
|
module Mutant
|
|
|
|
# Abstract reporter
|
|
|
|
class Reporter
|
2012-10-15 08:36:15 -04:00
|
|
|
include Adamantium, AbstractClass
|
2012-08-15 22:10:54 -04:00
|
|
|
|
|
|
|
# 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 killer
|
|
|
|
#
|
|
|
|
# @param [Killer] killer
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
abstract_method :killer
|
|
|
|
end
|
|
|
|
end
|