Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
normalize_uri(uri)
public
Normalize the URI by adding “http://” if it is
missing.
# File lib/rubygems/remote_fetcher.rb, line 298
def normalize_uri(uri)
(uri =~ /^(https?|ftp|file):/) ? uri : "http://#{uri}"
end