free_mutant/lib/mutant/matcher.rb
Markus Schirp 3e1f9c408f Cleanup and dedup mutation generation
* Mutator and Generator where merged.
* A single pass over all duplications was made.
* It is clear a specific handles?(node) code for finding mutators
  is needed. Like virtus does for attributes, should also cache.
* Does not pass on 1.9 mode currently as blocks are unexpectly parsed
  differend when it comes to a series of literal booleans.
2012-07-31 04:00:05 +02:00

18 lines
247 B
Ruby

module Mutant
# Abstract matcher to find ASTs to mutate
class Matcher
include Enumerable
extend Abstract
# Enumerate mutatees
#
# @api private
#
# @return [undefined]
#
abstract :each
private
end
end