Module
Instance Methods
lib/rubygems/uri_parsing.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/rubygems/uri_parsing.rb, line 7
def parse_uri(source_uri)
return source_uri unless source_uri.is_a?(String)
uri_parser.parse(source_uri)
end
No documentation available
lib/rubygems/uri_parsing.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/rubygems/uri_parsing.rb, line 15
def uri_parser
require "uri"
Gem::UriParser.new
end
No documentation available