37 lines
533 B
Ruby
37 lines
533 B
Ruby
|
module Mutant
|
||
|
# Abstract reporter
|
||
|
class Reporter
|
||
|
include Immutable, Abstract
|
||
|
|
||
|
# 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
|