From d4f7ea2db6b9f02e7a2edae9489f06cb80fd2b5c Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 2 Mar 2018 04:04:49 +0900 Subject: `ConsoleFormatter` is no longer used as a class It is used as a namespace for `Sheet` and `Expanded`. --- actionpack/lib/action_dispatch/routing/inspector.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actionpack/lib/action_dispatch/routing/inspector.rb b/actionpack/lib/action_dispatch/routing/inspector.rb index 8c0cf74667..de200fada0 100644 --- a/actionpack/lib/action_dispatch/routing/inspector.rb +++ b/actionpack/lib/action_dispatch/routing/inspector.rb @@ -125,7 +125,7 @@ module ActionDispatch end end - class ConsoleFormatter + module ConsoleFormatter class Sheet def initialize @buffer = [] @@ -185,7 +185,7 @@ module ActionDispatch end end - class Expanded < ConsoleFormatter + class Expanded def initialize @buffer = [] end -- cgit v1.2.3