Skip to content

Commit 0b5505e

Browse files
Fix typos for AS::Notifications::Fanout::Handle [ci-skip]
1 parent d618a45 commit 0b5505e

File tree

1 file changed

+3
-3
lines changed
  • activesupport/lib/active_support/notifications

1 file changed

+3
-3
lines changed

activesupport/lib/active_support/notifications/fanout.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ def groups_for(name) # :nodoc:
210210
groups
211211
end
212212

213-
# A +Handle+ is used to record the start and finish time of event
213+
# A +Handle+ is used to record the start and finish time of event.
214214
#
215-
# Both #start and #finish must each be called exactly once
215+
# Both #start and #finish must each be called exactly once.
216216
#
217-
# Where possible, it's best to the block form, ActiveSupport::Notifications.instrument.
217+
# Where possible, it's best to use the block form: ActiveSupport::Notifications.instrument.
218218
# +Handle+ is a low-level API intended for cases where the block form can't be used.
219219
#
220220
# handle = ActiveSupport::Notifications.instrumenter.build_handle("my.event", {})

0 commit comments

Comments
 (0)