aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-05-04 14:43:41 +0200
committerRobin Dupret <robin.dupret@gmail.com>2015-05-04 14:43:41 +0200
commita8aa8b7fc37784b36a41834af0272907bb07eeb8 (patch)
treebbd108de68e35b956d61b7057492c430b776e616 /railties
parent21c74bd769f6c873453e9244b0de7ced40a532be (diff)
downloadrails-a8aa8b7fc37784b36a41834af0272907bb07eeb8.tar.gz
rails-a8aa8b7fc37784b36a41834af0272907bb07eeb8.tar.bz2
rails-a8aa8b7fc37784b36a41834af0272907bb07eeb8.zip
Tiny documentation edits [ci skip]
* Fix a few typos * Wrap lines to 80 chars * Use `+` instead of `<tt>`
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/rack/logger.rb5
1 files changed, 3 insertions, 2 deletions
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 <tt>request</tt> object responds to, a Proc
- # that accepts an instance of the <tt>request</tt> object, or something that responds to <tt>to_s</tt>.
+ # 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