Class: Mutant::Matcher
- Inherits:
-
Object
- Object
- Mutant::Matcher
- Includes:
- AbstractType, Adamantium::Flat, Enumerable
- Defined in:
- lib/mutant/matcher.rb,
lib/mutant/matcher/null.rb,
lib/mutant/matcher/chain.rb,
lib/mutant/matcher/scope.rb,
lib/mutant/matcher/config.rb,
lib/mutant/matcher/filter.rb,
lib/mutant/matcher/method.rb,
lib/mutant/matcher/methods.rb,
lib/mutant/matcher/compiler.rb,
lib/mutant/matcher/namespace.rb,
lib/mutant/matcher/method/instance.rb,
lib/mutant/matcher/method/singleton.rb
Overview
Abstract matcher to find subjects to mutate
Defined Under Namespace
Classes: Chain, Compiler, Config, Filter, Method, Methods, Namespace, Null, Scope
Class Method Summary collapse
-
.build(*arguments) ⇒ undefined
private
Default matcher build implementation.
Instance Method Summary collapse
-
#each ⇒ self, Enumerable<Subject>
private
Enumerate subjects.
-
#identification ⇒ String
private
Return identification.
Class Method Details
.build(*arguments) ⇒ undefined
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.
Default matcher build implementation
15 16 17 |
# File 'lib/mutant/matcher.rb', line 15 def self.build(*arguments) new(*arguments) end |
Instance Method Details
#each ⇒ self, Enumerable<Subject>
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.
Enumerate subjects
29 |
# File 'lib/mutant/matcher.rb', line 29 abstract_method :each |
#identification ⇒ String
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.
Return identification
37 |
# File 'lib/mutant/matcher.rb', line 37 abstract_method :identification |