aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorMichael de Silva <michael@mwdesilva.com>2012-04-13 00:48:53 +0300
committerMichael de Silva <michael@mwdesilva.com>2012-04-13 00:48:53 +0300
commit32df31317397adb573766ae349a53d0cda362edc (patch)
tree86ef17a7f35a8aec501b134c5349f22ae4c88896 /activesupport/lib
parent702d25e34d104a6ed5ddc14b4d7740c8a43bbcdb (diff)
downloadrails-32df31317397adb573766ae349a53d0cda362edc.tar.gz
rails-32df31317397adb573766ae349a53d0cda362edc.tar.bz2
rails-32df31317397adb573766ae349a53d0cda362edc.zip
Fix further typos in ActiveSupport::Notifications
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/notifications.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb
index 9794527752..521245e195 100644
--- a/activesupport/lib/active_support/notifications.rb
+++ b/activesupport/lib/active_support/notifications.rb
@@ -44,16 +44,16 @@ module ActiveSupport
# event.duration # => 10 (in milliseconds)
# event.payload # => { :extra => :information }
#
- # The block in the +subscribe+ call gets the name of the event, start
+ # The block in the <tt>subscribe</tt> call gets the name of the event, start
# timestamp, end timestamp, a string with a unique identifier for that event
# (something like "535801666f04d0298cd6"), and a hash with the payload, in
# that order.
#
# If an exception happens during that particular instrumentation the payload will
- # have a key +:exception+ with an array of two elements as value: a string with
+ # have a key <tt>:exception</tt> with an array of two elements as value: a string with
# the name of the exception class, and the exception message.
#
- # As the previous example depicts, the class +ActiveSupport::Notifications::Event+
+ # As the previous example depicts, the class <tt>ActiveSupport::Notifications::Event</tt>
# is able to take the arguments as they come and provide an object-oriented
# interface to that data.
#
@@ -63,7 +63,7 @@ module ActiveSupport
# ...
# end
#
- # and even pass no argument to +subscribe+, in which case you are subscribing
+ # and even pass no argument to <tt>subscribe</tt>, in which case you are subscribing
# to all events.
#
# == Temporary Subscriptions