Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

grammar changes to log subscriber docs

  • Loading branch information...
commit 3cfbf544eacaecea9b23a7fd02b071dd39b5ddf7 1 parent 32de3b8
@mjankowski mjankowski authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 activesupport/lib/active_support/log_subscriber.rb
View
8 activesupport/lib/active_support/log_subscriber.rb
@@ -3,8 +3,8 @@
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 @@ def #{level}(*args, &block)
# 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
Please sign in to comment.
Something went wrong with that request. Please try again.