summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-11-10 13:46:15 +0900
committergit <svn-admin@ruby-lang.org>2025-11-10 06:44:27 +0000
commit57f2ac720d70b2245706f323cd7f3178aa5cfe6c (patch)
tree98832c1867ef4bd1a94f4019b46da4eaf8d37e9d
parent73339ff2a1e5e8f35ad7224886ed56ae1da3e3ca (diff)
[ruby/rubygems] [DOC] Fix markups
Use `<tt>` instead of `+` that cannot enclose punctuations. https://github.com/ruby/rubygems/commit/f84035c0b6
-rw-r--r--lib/rubygems/deprecate.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/deprecate.rb b/lib/rubygems/deprecate.rb
index fae99052ea..eb503bb269 100644
--- a/lib/rubygems/deprecate.rb
+++ b/lib/rubygems/deprecate.rb
@@ -4,10 +4,10 @@ module Gem
##
# Provides 3 methods for declaring when something is going away.
#
- # +deprecate(name, repl, year, month)+:
+ # <tt>deprecate(name, repl, year, month)</tt>:
# Indicate something may be removed on/after a certain date.
#
- # +rubygems_deprecate(name, replacement=:none)+:
+ # <tt>rubygems_deprecate(name, replacement=:none)</tt>:
# Indicate something will be removed in the next major RubyGems version,
# and (optionally) a replacement for it.
#