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

Inherits:
Base
  • Object
show all
Defined in:
actionpack/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



245
246
247
# File 'actionpack/lib/action_dispatch/routing/inspector.rb', line 245

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

#header(routes) ⇒ Object



241
242
243
# File 'actionpack/lib/action_dispatch/routing/inspector.rb', line 241

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

#section(routes) ⇒ Object



237
238
239
# File 'actionpack/lib/action_dispatch/routing/inspector.rb', line 237

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

#section_title(title) ⇒ Object



233
234
235
# File 'actionpack/lib/action_dispatch/routing/inspector.rb', line 233

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