free_mutant/lib/mutant/matcher.rb
Markus Schirp 3cea008fcd Fix Matcher env arguments
* Due historical reasons Env#warn also existed and in specs we actually
  passed an Env object where runtime passes Env::Boostrap objects.
* Fix documentation for runtime type
* Fix specs to pass in the runtime type
* Remove now unused Env#warn
2015-11-16 01:07:31 +00:00

15 lines
285 B
Ruby

module Mutant
# Abstract matcher to find subjects to mutate
class Matcher
include Adamantium::Flat, AbstractType
# Call matcher
#
# @param [Env::Bootstrap] env
#
# @return [Enumerable<Subject>]
#
abstract_method :call
end # Matcher
end # Mutant