method

wrap_routes

rails latest stable - Class: ActionDispatch::Routing::RoutesInspector

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

wrap_routes(routes)
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/inspector.rb, line 111
        def wrap_routes(routes)
          routes.routes.map { |route| RouteWrapper.new(route) }.reject(&:internal?)
        end