File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
activesupport/lib/active_support/deprecation Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ module Reporting
10
10
# Name of gem where method is deprecated
11
11
attr_accessor :gem_name
12
12
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.
14
15
#
15
16
# ActiveSupport::Deprecation.new.warn('something broke!')
16
17
# # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"
@@ -61,7 +62,7 @@ def silenced
61
62
# expressions. (Symbols are treated as strings). These are compared against
62
63
# the text of deprecation warning messages generated within the block.
63
64
# Matching warnings will be exempt from the rules set by
64
- # + ActiveSupport::Deprecation#disallowed_warnings+
65
+ # ActiveSupport::Deprecation#disallowed_warnings.
65
66
#
66
67
# The optional <tt>if:</tt> argument accepts a truthy/falsy value or an object that
67
68
# responds to <tt>.call</tt>. If truthy, then matching warnings will be allowed.
You can’t perform that action at this time.
0 commit comments