Skip to content

Commit

Permalink
Linkify code references [ci-skip]
Browse files Browse the repository at this point in the history
Follow-up to #47354.
  • Loading branch information
jonathanhefner committed Apr 11, 2023
1 parent d9037d0 commit 2c371c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions activesupport/lib/active_support/deprecation/reporting.rb
Expand Up @@ -10,7 +10,8 @@ module Reporting
# Name of gem where method is deprecated
attr_accessor :gem_name

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

0 comments on commit 2c371c6

Please sign in to comment.