Class: Journey::Path::Pattern::UnanchoredRegexp
- Inherits:
-
AnchoredRegexp
- Object
- Visitors::Visitor
- AnchoredRegexp
- Journey::Path::Pattern::UnanchoredRegexp
- Defined in:
- lib/journey/path/pattern.rb
Overview
:nodoc:
Constant Summary
Constants inherited from Visitors::Visitor
Visitors::Visitor::DISPATCH_CACHE
Instance Method Summary collapse
Methods inherited from AnchoredRegexp
#initialize, #visit_CAT, #visit_GROUP, #visit_LITERAL, #visit_SLASH, #visit_STAR, #visit_SYMBOL
Constructor Details
This class inherits a constructor from Journey::Path::Pattern::AnchoredRegexp
Instance Method Details
#accept(node) ⇒ Object
130 131 132 |
# File 'lib/journey/path/pattern.rb', line 130 def accept node %r{\A#{visit node}} end |