Methods
Class Public methods
new(width: IO.console_size[1])
📝 Source code
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 245
def initialize(width: IO.console_size[1])
@width = width
super()
end
🔎 See on GitHub
Instance Public methods
footer(routes)
📝 Source code
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 258
def footer(routes)
@buffer << ""
end
🔎 See on GitHub
section(routes)
📝 Source code
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 254
def section(routes)
@buffer << draw_expanded_section(routes)
end
🔎 See on GitHub
section_title(title)
📝 Source code
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 250
def section_title(title)
@buffer << "#{"[ #{title} ]"}"
end
🔎 See on GitHub