Class: Mutant::Matcher::Method::Singleton Private
- Inherits:
-
Mutant::Matcher::Method
- Object
- Mutant::Matcher
- Mutant::Matcher::Method
- Mutant::Matcher::Method::Singleton
- Defined in:
- lib/mutant/matcher/method/singleton.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Matcher for singleton methods
Defined Under Namespace
Classes: Evaluator
Constant Summary
Constants inherited from Mutant::Matcher::Method
BLACKLIST, CLOSURE_WARNING_FORMAT, SOURCE_LOCATION_WARNING_FORMAT
Class Method Summary collapse
-
.new(scope, method_name) ⇒ Matcher::Method::Singleton
private
New singleton method matcher.
Methods inherited from Mutant::Matcher::Method
Methods inherited from Mutant::Matcher
Class Method Details
.new(scope, method_name) ⇒ Matcher::Method::Singleton
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
New singleton method matcher
13 14 15 |
# File 'lib/mutant/matcher/method/singleton.rb', line 13 def self.new(scope, method_name) super(scope, method_name, Evaluator) end |