class ActionDispatch::Journey::Visitors::FormatBuilder

def visit_SYMBOL(n)

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

def visit_SYMBOL: (ActionDispatch::Journey::Nodes::Symbol n) -> untyped

This signature was generated using 2 samples from 1 application.

def visit_SYMBOL(n)
  symbol = n.to_sym
  if symbol == :controller
    [Journey::Format.required_path(symbol)]
  else
    [Journey::Format.required_segment(symbol)]
  end
end