From a8aa8b7fc37784b36a41834af0272907bb07eeb8 Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Mon, 4 May 2015 14:43:41 +0200 Subject: Tiny documentation edits [ci skip] * Fix a few typos * Wrap lines to 80 chars * Use `+` instead of `` --- railties/lib/rails/rack/logger.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'railties/lib/rails/rack/logger.rb') diff --git a/railties/lib/rails/rack/logger.rb b/railties/lib/rails/rack/logger.rb index 7aaa353b91..12676b18bc 100644 --- a/railties/lib/rails/rack/logger.rb +++ b/railties/lib/rails/rack/logger.rb @@ -8,8 +8,9 @@ module Rails module Rack # Sets log tags, logs the request, calls the app, and flushes the logs. # - # Log tags (+taggers+) can be an Array containing: methods that the request object responds to, a Proc - # that accepts an instance of the request object, or something that responds to to_s. + # Log tags (+taggers+) can be an Array containing: methods that the +request+ + # object responds to, objects that respond to +to_s+ or Proc objects that accept + # an instance of the +request+ object. class Logger < ActiveSupport::LogSubscriber def initialize(app, taggers = nil) @app = app -- cgit v1.2.3