method
ast
v5.0.0.1 -
Show latest stable
- Class:
ActionDispatch::Journey::Routes
ast()public
No documentation available.
# File actionpack/lib/action_dispatch/journey/routes.rb, line 49
def ast
@ast ||= begin
asts = anchored_routes.map(&:ast)
Nodes::Or.new(asts) unless asts.empty?
end
end