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