Skip to content

Commit 6e7e812

Browse files
committed
Fix markup in RDoc [ci skip]
1 parent 1eaa0f8 commit 6e7e812

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

activesupport/lib/active_support/deprecation/behaviors.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Deprecation
5454
# [+stderr+] Log all deprecation warnings to <tt>$stderr</tt>.
5555
# [+log+] Log all deprecation warnings to +Rails.logger+.
5656
# [+notify+] Use +ActiveSupport::Notifications+ to notify +deprecation.rails+.
57-
# [+silence+] Do nothing. On Rails, set `config.active_support.report_deprecations = false` to disable all behaviors.
57+
# [+silence+] Do nothing. On Rails, set <tt>config.active_support.report_deprecations = false</tt> to disable all behaviors.
5858
#
5959
# Setting behaviors only affects deprecations that happen after boot time.
6060
# For more information you can read the documentation of the +behavior=+ method.
@@ -94,8 +94,8 @@ def disallowed_behavior
9494
# # custom stuff
9595
# }
9696
#
97-
# If you are using Rails, you can set `config.active_support.report_deprecations = false` to disable
98-
# all deprecation behaviors. This is similar to the `silence` option but more performant.
97+
# If you are using Rails, you can set <tt>config.active_support.report_deprecations = false</tt> to disable
98+
# all deprecation behaviors. This is similar to the +silence+ option but more performant.
9999
def behavior=(behavior)
100100
@behavior = Array(behavior).map { |b| DEFAULT_BEHAVIORS[b] || arity_coerce(b) }
101101
end

0 commit comments

Comments
 (0)