2012-08-16 04:10:54 +02:00
|
|
|
module Mutant
|
|
|
|
class Reporter
|
2012-12-11 00:17:19 +01:00
|
|
|
|
2013-01-04 22:16:03 +01:00
|
|
|
# Null reporter
|
2012-12-11 00:17:19 +01:00
|
|
|
class Null < self
|
|
|
|
|
2012-08-16 04:10:54 +02:00
|
|
|
# Report subject
|
|
|
|
#
|
|
|
|
# @param [Subject] subject
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
def subject(*)
|
|
|
|
self
|
|
|
|
end
|
|
|
|
|
|
|
|
# Report mutation
|
|
|
|
#
|
|
|
|
# @param [Mutation] mutation
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
def mutation(*)
|
|
|
|
self
|
|
|
|
end
|
|
|
|
|
|
|
|
# Report killer
|
|
|
|
#
|
|
|
|
# @param [Killer] killer
|
|
|
|
#
|
|
|
|
# @return [self]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
def killer(*)
|
|
|
|
self
|
|
|
|
end
|
2012-12-11 00:17:19 +01:00
|
|
|
end
|
|
|
|
|
2012-08-16 04:10:54 +02:00
|
|
|
end
|
|
|
|
end
|