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

17 lines
310 B
Ruby

module Mutant
class Matcher
class Method < Matcher
# A instance method filter
class Instance < Method
private
def method
constant.instance_method(method_name)
end
def node_class
Rubinius::AST::Define
end
end
end
end
end