3e1f9c408f
* 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.
18 lines
247 B
Ruby
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
|