free_mutant/lib/mutant/matcher.rb
Markus Schirp df6ccafeab Add method matcher infrastructure
Needs more specs for sure. Especially edge cases.
2012-07-23 22:54:35 +02:00

14 lines
221 B
Ruby

module Mutant
# Abstract filter for rubinius asts.
class Matcher
include Enumerable
# Return each matched node
#
# @api private
#
def each
Mutant.not_implemented(self)
end
end
end