Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::PathSupport#expand
expand(path)
lib/rubygems/path_support.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/path_support.rb, line 78
def expand(path)
if File.directory?(path)
File.realpath(path)
else
path
end
end
No documentation available
See also
#default_path
#normalize_home_dir
.new
#split_gem_path
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0