2012-08-15 22:10:54 -04:00
|
|
|
module Mutant
|
|
|
|
# Abstract reporter
|
|
|
|
class Reporter
|
2012-11-02 21:12:33 -04:00
|
|
|
include Adamantium::Flat, 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
|