aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
diff options
context:
space:
mode:
authorEllen Marie Dash <me@duckie.co>2023-09-30 19:15:42 -0400
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-10-16 13:51:08 +0900
commit724398cce630edd5b5053333e0fbf6ae3b05c9c5 (patch)
tree4fbda8d205b15dd54c009972ca77a8454d164b6d /lib/rubygems
parent3f5da31760476cf8a0340f03125c4b97c3cdbc97 (diff)
downloadruby-724398cce630edd5b5053333e0fbf6ae3b05c9c5.tar.gz
[rubygems/rubygems] Remove outdated/incorrect comment.
The function is also significantly simpler than it used to be, to the point I'm not sure it needs a comment. https://github.com/rubygems/rubygems/commit/29a0551e37
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/path_support.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rubygems/path_support.rb b/lib/rubygems/path_support.rb
index c80a60fc76..f27da619e9 100644
--- a/lib/rubygems/path_support.rb
+++ b/lib/rubygems/path_support.rb
@@ -56,10 +56,6 @@ class Gem::PathSupport
private
- ##
- # The default home directory.
- # This function was broken out to accommodate tests in `bundler/spec/commands/doctor_spec.rb`.
-
def normalize_home_dir(home)
if File::ALT_SEPARATOR
home = home.gsub(File::ALT_SEPARATOR, File::SEPARATOR)