method

draw_header

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

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

draw_header(routes)
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/inspector.rb, line 174
        def draw_header(routes)
          name_width, verb_width, path_width = widths(routes)

          "#{"Prefix".rjust(name_width)} #{"Verb".ljust(verb_width)} #{"URI Pattern".ljust(path_width)} Controller#Action"
        end