Skip to content

Commit 2c371c6

Browse files
Linkify code references [ci-skip]
Follow-up to rails#47354.
1 parent d9037d0 commit 2c371c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

activesupport/lib/active_support/deprecation/reporting.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ module Reporting
1010
# Name of gem where method is deprecated
1111
attr_accessor :gem_name
1212

13-
# Outputs a deprecation warning to the output configured by <tt>ActiveSupport::Deprecation#behavior</tt>.
13+
# Outputs a deprecation warning to the output configured by
14+
# ActiveSupport::Deprecation#behavior.
1415
#
1516
# ActiveSupport::Deprecation.new.warn('something broke!')
1617
# # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"
@@ -61,7 +62,7 @@ def silenced
6162
# expressions. (Symbols are treated as strings). These are compared against
6263
# the text of deprecation warning messages generated within the block.
6364
# Matching warnings will be exempt from the rules set by
64-
# +ActiveSupport::Deprecation#disallowed_warnings+
65+
# ActiveSupport::Deprecation#disallowed_warnings.
6566
#
6667
# The optional <tt>if:</tt> argument accepts a truthy/falsy value or an object that
6768
# responds to <tt>.call</tt>. If truthy, then matching warnings will be allowed.

0 commit comments

Comments
 (0)