Skip to Content Skip to Search
Methods
N
S

Class Public methods

new(width: IO.console_size[1])

# File actionpack/lib/action_dispatch/routing/inspector.rb, line 203
def initialize(width: IO.console_size[1])
  @width = width
  super()
end

Instance Public methods

section(routes)

# File actionpack/lib/action_dispatch/routing/inspector.rb, line 212
def section(routes)
  @buffer << draw_expanded_section(routes)
end

section_title(title)

# File actionpack/lib/action_dispatch/routing/inspector.rb, line 208
def section_title(title)
  @buffer << "\n#{"[ #{title} ]"}"
end