1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Fix formatting in docs

rdoc uses + for typewriter font rather than backticks.

https://github.com/rubygems/rubygems/commit/be320f1e0c
This commit is contained in:
Peter Zhu 2022-04-13 16:05:37 -04:00 committed by git
parent 295030969c
commit 1a2490b564

View file

@ -48,7 +48,7 @@ require_relative 'rubygems/errors'
# special location and loaded on boot. # special location and loaded on boot.
# #
# For an example plugin, see the {Graph gem}[https://github.com/seattlerb/graph] # 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 # == RubyGems Defaults, Packaging
# #
@ -581,8 +581,8 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
end end
## ##
# The number of paths in the `$LOAD_PATH` from activated gems. Used to # The number of paths in the +$LOAD_PATH+ from activated gems. Used to
# prioritize `-I` and `ENV['RUBYLIB']` entries during `require`. # prioritize +-I+ and +ENV['RUBYLIB']+ entries during +require+.
def self.activated_gem_paths def self.activated_gem_paths
@activated_gem_paths ||= 0 @activated_gem_paths ||= 0
@ -1120,7 +1120,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
## ##
# If the SOURCE_DATE_EPOCH environment variable is set, returns it's value. # 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. # first called in the same format as SOURCE_DATE_EPOCH.
# #
# NOTE(@duckinator): The implementation is a tad weird because we want to: # NOTE(@duckinator): The implementation is a tad weird because we want to: