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



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

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

#section_title(title) ⇒ Object



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

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