class ActionDispatch::Journey::Path::Pattern::UnanchoredRegexp
def accept(node)
Experimental RBS support (using type sampling data from the type_fusion
project).
def accept: (ActionDispatch::Journey::Nodes::Cat node) -> Regexp
This signature was generated using 1 sample from 1 application.
def accept(node) path = visit node path == "/" ? %r{\A/} : %r{\A#{path}(?:\b|\Z|/)} end