class ActionDispatch::Routing::ConsoleFormatter::Expanded
Public Class Methods
Calls superclass method
ActionDispatch::Routing::ConsoleFormatter::Base::new
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 229 def initialize(width: IO.console_size[1]) @width = width super() end
Public Instance Methods
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 238 def section(routes) @buffer << draw_expanded_section(routes) end
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 234 def section_title(title) @buffer << "\n#{"[ #{title} ]"}" end