Class: ActionDispatch::Routing::ConsoleFormatter::Expanded

Inherits:
Base
  • Object
show all
Defined in:
lib/action_dispatch/routing/inspector.rb

Instance Method Summary collapse

Methods inherited from Base

#header, #initialize, #no_routes, #result

Constructor Details

This class inherits a constructor from ActionDispatch::Routing::ConsoleFormatter::Base

Instance Method Details

#section(routes) ⇒ Object



207
208
209
# File 'lib/action_dispatch/routing/inspector.rb', line 207

def section(routes)
  @buffer << draw_expanded_section(routes)
end

#section_title(title) ⇒ Object



203
204
205
# File 'lib/action_dispatch/routing/inspector.rb', line 203

def section_title(title)
  @buffer << "\n#{"[ #{title} ]"}"
end