Class: Mutant::Expression::Namespace::Exact Private
- Inherits:
-
Mutant::Expression::Namespace
- Object
- Mutant::Expression
- Mutant::Expression::Namespace
- Mutant::Expression::Namespace::Exact
- Defined in:
- lib/mutant/expression/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.
Exact namespace expression
Constant Summary collapse
- MATCHER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Matcher::Scope
- REGEXP =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
/\A#{SCOPE_NAME_PATTERN}\z/.freeze
Constants inherited from Mutant::Expression
SCOPE_NAME_PATTERN, SCOPE_SYMBOL_PATTERN
Instance Method Summary collapse
-
#matcher ⇒ Matcher
private
Matcher matcher on expression.
Methods inherited from Mutant::Expression
#match_length, #prefix?, try_parse
Instance Method Details
#matcher ⇒ Matcher
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.
Matcher matcher on expression
67 68 69 |
# File 'lib/mutant/expression/namespace.rb', line 67 def matcher Matcher::Scope.new(Object.const_get(scope_name)) end |