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::Slash | ActionDispatch::Journey::Nodes::Dot | ActionDispatch::Journey::Nodes::Literal | 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 88 samples from 3 applications.
def symbol(edge) edge.symbol? ? edge.regexp : edge.left end