Class: Mutant::Matcher::Namespace Private
- Inherits:
-
Mutant::Matcher
- Object
- Mutant::Matcher
- Mutant::Matcher::Namespace
- Defined in:
- lib/mutant/matcher/namespace.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 specific namespace
Instance Method Summary collapse
-
#call(env) ⇒ Enumerable<Subject>
private
Enumerate subjects.
Instance Method Details
#call(env) ⇒ 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
12 13 14 15 16 |
# File 'lib/mutant/matcher/namespace.rb', line 12 def call(env) Chain.new( matched_scopes(env).map { |scope| Scope.new(scope.raw) } ).call(env) end |