module Gem::UriParsing
Private Instance Methods
parse_uri(source_uri)
click to toggle source
# File 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
uri_parser()
click to toggle source
# File lib/rubygems/uri_parsing.rb, line 15 def uri_parser require "uri" Gem::UriParser.new end