lib/active_support/notifications.rb in activesupport-7.0.2.4 vs lib/active_support/notifications.rb in activesupport-7.0.3
- old
+ new
@@ -2,11 +2,11 @@
require "active_support/notifications/instrumenter"
require "active_support/notifications/fanout"
module ActiveSupport
- # = Notifications
+ # = \Notifications
#
# <tt>ActiveSupport::Notifications</tt> provides an instrumentation API for
# Ruby.
#
# == Instrumenters
@@ -82,10 +82,10 @@
# itself as the value:
#
# event.payload[:exception] # => ["ArgumentError", "Invalid value"]
# event.payload[:exception_object] # => #<ArgumentError: Invalid value>
#
- # As the earlier example depicts, the class <tt>ActiveSupport::Notifications::Event</tt>
+ # As the earlier example depicts, the class ActiveSupport::Notifications::Event
# is able to take the arguments as they come and provide an object-oriented
# interface to that data.
#
# It is also possible to pass an object which responds to <tt>call</tt> method
# as the second parameter to the <tt>subscribe</tt> method instead of a block: