Class: ActionDispatch::Routing::ConsoleFormatter::Sheet

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

Instance Method Summary collapse

Methods inherited from Base

#initialize, #no_routes, #result

Constructor Details

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

Instance Method Details

#header(routes) ⇒ Object



175
176
177
# File 'lib/action_dispatch/routing/inspector.rb', line 175

def header(routes)
  @buffer << draw_header(routes)
end

#section(routes) ⇒ Object



171
172
173
# File 'lib/action_dispatch/routing/inspector.rb', line 171

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

#section_title(title) ⇒ Object



167
168
169
# File 'lib/action_dispatch/routing/inspector.rb', line 167

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