Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::Ext::ExtConfBuilder.get_relative_path
get_relative_path(path, base)
lib/rubygems/ext/ext_conf_builder.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/ext/ext_conf_builder.rb, line 73
def self.get_relative_path(path, base)
path[0..base.length - 1] = "." if path.start_with?(base)
path
end
No documentation available