Module: Gem::UriParsing
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/rubygems/uri_parsing.rb |
Instance Method Summary
- #parse_uri(source_uri) private
- #uri_parser private
Instance Method Details
#parse_uri(source_uri) (private)
[ GitHub ]# 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