diff options
author | DAVID MOORE <khundawg@gmail.com> | 2015-04-25 22:09:30 -0400 |
---|---|---|
committer | DAVID MOORE <khundawg@gmail.com> | 2015-04-25 22:09:30 -0400 |
commit | 4c945cccb51bffaee486cbd01b3589dcb085ac82 (patch) | |
tree | 9777cf30e64f2860a692b783cf795410ebf9c138 | |
parent | 89e051ace345b6e5d652b039e55ce00eafe1ed6b (diff) | |
download | rails-4c945cccb51bffaee486cbd01b3589dcb085ac82.tar.gz rails-4c945cccb51bffaee486cbd01b3589dcb085ac82.tar.bz2 rails-4c945cccb51bffaee486cbd01b3589dcb085ac82.zip |
[ci skip] Update ActiveSupport::Subscriber documentation
-rw-r--r-- | activesupport/lib/active_support/subscriber.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/subscriber.rb b/activesupport/lib/active_support/subscriber.rb index cd40284660..895159f52e 100644 --- a/activesupport/lib/active_support/subscriber.rb +++ b/activesupport/lib/active_support/subscriber.rb @@ -5,7 +5,7 @@ module ActiveSupport # ActiveSupport::Notifications. The subscriber dispatches notifications to # a registered object based on its given namespace. # - # An example would be Active Record subscriber responsible for collecting + # An example would be an Active Record subscriber responsible for collecting # statistics about queries: # # module ActiveRecord @@ -66,7 +66,7 @@ module ActiveSupport pattern = "#{event}.#{namespace}" - # don't add multiple subscribers (eg. if methods are redefined) + # Don't add multiple subscribers (eg. if methods are redefined). return if subscriber.patterns.include?(pattern) subscriber.patterns << pattern |