method
draw_header
v4.2.7 -
Show latest stable
- Class:
ActionDispatch::Routing::ConsoleFormatter
draw_header(routes)private
No documentation available.
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 183
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