lib/mutant/matcher/method/singleton.rb in mutant-0.12.2 vs lib/mutant/matcher/method/singleton.rb in mutant-0.12.3
- old
+ new
@@ -8,10 +8,10 @@
# New singleton method matcher
#
# @return [Matcher::Method::Singleton]
def self.new(scope:, target_method:)
- super(scope: scope, target_method: target_method, evaluator: Evaluator)
+ super(scope:, target_method:, evaluator: Evaluator)
end
# Singleton method evaluator
class Evaluator < Evaluator
MATCH_NODE_TYPE = :defs