Method: ActionDispatch::Routing::ConsoleFormatter::Unused#header

Defined in:
actionpack/lib/action_dispatch/routing/inspector.rb

#header(routes) ⇒ Object



264
265
266
267
268
269
270
# File 'actionpack/lib/action_dispatch/routing/inspector.rb', line 264

def header(routes)
  @buffer << <<~MSG
    Found #{routes.count} unused #{"route".pluralize(routes.count)}:
  MSG

  super
end