
* New primary interface #call makes specs and implementations much easier * We had #each mostly for historical reasons that are not relevant anymore * Mutation covers the Mutant::Matcher namespace
15 lines
274 B
Ruby
15 lines
274 B
Ruby
module Mutant
|
|
# Abstract matcher to find subjects to mutate
|
|
class Matcher
|
|
include Adamantium::Flat, AbstractType
|
|
|
|
# Call matcher
|
|
#
|
|
# @param [Env] env
|
|
#
|
|
# @return [Enumerable<Subject>]
|
|
#
|
|
abstract_method :call
|
|
|
|
end # Matcher
|
|
end # Mutant
|