Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Commands::SourcesCommand#build_new_source
build_new_source(source_uri)
lib/rubygems/commands/sources_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/sources_command.rb, line 342
def build_new_source(source_uri)
source = build_source(source_uri)
check_rubygems_https(source.uri.to_s)
check_typo_squatting(source)
source
end
No documentation available