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

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

Direct Known Subclasses

Unused

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



217
218
219
# File 'lib/action_dispatch/routing/inspector.rb', line 217

def footer(routes)
  @buffer << ""
end

#header(routes) ⇒ Object



213
214
215
# File 'lib/action_dispatch/routing/inspector.rb', line 213

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

#section(routes) ⇒ Object



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

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

#section_title(title) ⇒ Object



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

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