Skip to content

Commit

Permalink
[rubygems/rubygems] Fix formatting in docs
Browse files Browse the repository at this point in the history
rdoc uses + for typewriter font rather than backticks.

rubygems/rubygems@be320f1e0c
  • Loading branch information
peterzhu2118 authored and matzbot committed Apr 14, 2022
1 parent 2950309 commit 1a2490b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/rubygems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module Gem
# 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
#
Expand Down Expand Up @@ -581,8 +581,8 @@ def self.load_path_insert_index
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
Expand Down Expand Up @@ -1120,7 +1120,7 @@ def self.use_gemdeps(path = nil)

##
# 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:
Expand Down

0 comments on commit 1a2490b

Please sign in to comment.