diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-04-13 16:05:37 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-04-14 16:24:09 +0900 |
commit | 1a2490b5640606a69e6abac5c50869b6095f0239 (patch) | |
tree | 9cf1da8c8cd66ac06848022adf6f937d2124c2ce | |
parent | 295030969c84a4dc375c51902de9c7d614e4e5ba (diff) |
[rubygems/rubygems] Fix formatting in docs
rdoc uses + for typewriter font rather than backticks.
https://github.com/rubygems/rubygems/commit/be320f1e0c
-rw-r--r-- | lib/rubygems.rb | 8 |
1 files 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' # 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]} 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]} ## # 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: |