Skip to Content Skip to Search

class ActionDispatch::Routing::ConsoleFormatter::Expanded

Inherits From

Public class methods

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

Public instance methods

Source code GitHub
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 238
def section(routes)
  @buffer << draw_expanded_section(routes)
end
Source code GitHub
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 234
def section_title(title)
  @buffer << "\n#{"[ #{title} ]"}"
end

Definition files