Skip to content

Commit

Permalink
Fix further typos in ActiveSupport::Notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
bsodmike committed Apr 12, 2012
1 parent 702d25e commit 32df313
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions activesupport/lib/active_support/notifications.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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
Expand Down

0 comments on commit 32df313

Please sign in to comment.