diff --git a/activesupport/lib/active_support/deprecation/reporting.rb b/activesupport/lib/active_support/deprecation/reporting.rb index 657d962c601e4..220404464f5a5 100644 --- a/activesupport/lib/active_support/deprecation/reporting.rb +++ b/activesupport/lib/active_support/deprecation/reporting.rb @@ -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 ActiveSupport::Deprecation#behavior. + # 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)" @@ -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 if: argument accepts a truthy/falsy value or an object that # responds to .call. If truthy, then matching warnings will be allowed.