ruby-changes:71729
From: Peter <ko1@a...>
Date: Thu, 14 Apr 2022 16:24:22 +0900 (JST)
Subject: [ruby-changes:71729] 1a2490b564 (master): [rubygems/rubygems] Fix formatting in docs
https://git.ruby-lang.org/ruby.git/commit/?id=1a2490b564 From 1a2490b5640606a69e6abac5c50869b6095f0239 Mon Sep 17 00:00:00 2001 From: Peter Zhu <peter@p...> Date: Wed, 13 Apr 2022 16:05:37 -0400 Subject: [rubygems/rubygems] Fix formatting in docs rdoc uses + for typewriter font rather than backticks. https://github.com/rubygems/rubygems/commit/be320f1e0c --- lib/rubygems.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/rubygems.rb b/lib/rubygems.rb index c21a55d3a1..1f706b004f 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -48,7 +48,7 @@ require_relative 'rubygems/errors' https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L48 # special location and loaded on boot. # # For an example plugin, see the {Graph gem}[https://github.com/seattlerb/graph] -# which adds a `gem graph` command. +# which adds a <tt>gem graph</tt> command. # # == RubyGems Defaults, Packaging # @@ -581,8 +581,8 @@ An Array (#{env.inspect}) was passed in from #{caller[3]} https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L581 end ## - # The number of paths in the `$LOAD_PATH` from activated gems. Used to - # prioritize `-I` and `ENV['RUBYLIB']` entries during `require`. + # The number of paths in the +$LOAD_PATH+ from activated gems. Used to + # prioritize +-I+ and +ENV['RUBYLIB']+ entries during +require+. def self.activated_gem_paths @activated_gem_paths ||= 0 @@ -1120,7 +1120,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]} https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L1120 ## # If the SOURCE_DATE_EPOCH environment variable is set, returns it's value. - # Otherwise, returns the time that `Gem.source_date_epoch_string` was + # Otherwise, returns the time that +Gem.source_date_epoch_string+ was # first called in the same format as SOURCE_DATE_EPOCH. # # NOTE(@duckinator): The implementation is a tad weird because we want to: -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/