class ActionDispatch::Journey::Routes

def ast

Experimental RBS support (using type sampling data from the type_fusion project).

def ast: () -> ActionDispatch::Journey::Nodes::Or

This signature was generated using 2 samples from 1 application.

def ast
  @ast ||= begin
    nodes = anchored_routes.map(&:ast)
    Nodes::Or.new(nodes)
  end
end