36 lines
539 B
Ruby
36 lines
539 B
Ruby
module Mutant
|
|
# Abstract reporter
|
|
class Reporter
|
|
include Adamantium, AbstractClass
|
|
|
|
# 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
|