class ActionDispatch::Journey::GTG::Builder

def symbol(edge)

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

type ActionDispatch__Journey__GTG__Builder_symbol_edge = ActionDispatch::Journey::Nodes::Literal | ActionDispatch::Journey::Nodes::Slash | ActionDispatch::Journey::Nodes::Symbol | ActionDispatch::Journey::Nodes::Dummy

def symbol: (ActionDispatch__Journey__GTG__Builder_symbol_edge edge) -> (String | Regexp | Object)

This signature was generated using 8 samples from 1 application.

def symbol(edge)
  edge.symbol? ? edge.regexp : edge.left
end