diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2011-06-22 09:27:22 -0400 |
---|---|---|
committer | Matt Jankowski <mjankowski@thoughtbot.com> | 2011-06-22 09:27:22 -0400 |
commit | 3cfbf544eacaecea9b23a7fd02b071dd39b5ddf7 (patch) | |
tree | a5385010de34526de35306d02f4d10d6689ae9a6 | |
parent | 32de3b8119fcf82f7f89a78d64db93751c06b0a8 (diff) | |
download | rails-3cfbf544eacaecea9b23a7fd02b071dd39b5ddf7.tar.gz rails-3cfbf544eacaecea9b23a7fd02b071dd39b5ddf7.tar.bz2 rails-3cfbf544eacaecea9b23a7fd02b071dd39b5ddf7.zip |
grammar changes to log subscriber docs
-rw-r--r-- | activesupport/lib/active_support/log_subscriber.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/log_subscriber.rb b/activesupport/lib/active_support/log_subscriber.rb index 1c4dd24227..6296c1d4b8 100644 --- a/activesupport/lib/active_support/log_subscriber.rb +++ b/activesupport/lib/active_support/log_subscriber.rb @@ -3,8 +3,8 @@ require 'active_support/core_ext/class/attribute' module ActiveSupport # ActiveSupport::LogSubscriber is an object set to consume ActiveSupport::Notifications - # with solely purpose of logging. The log subscriber dispatches notifications to a - # registered object based on its given namespace. + # with the sole purpose of logging them. The log subscriber dispatches notifications to + # a registered object based on its given namespace. # # An example would be Active Record log subscriber responsible for logging queries: # @@ -109,8 +109,8 @@ module ActiveSupport # Set color by using a string or one of the defined constants. If a third # option is set to true, it also adds bold to the string. This is based - # on Highline implementation and it automatically appends CLEAR to the end - # of the returned String. + # on the Highline implementation and will automatically append CLEAR to the + # end of the returned String. # def color(text, color, bold=false) return text unless colorize_logging |