class ActionDispatch::Routing::Mapper::Scope

def [](key)

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

def []: (Symbol key) -> nil

This signature was generated using 10 samples from 1 application.

def [](key)
  scope = find { |node| node.frame.key? key }
  scope && scope.frame[key]
end