lib/rubygems/uri.rb
##
# Parses the #uri, returning the original uri if it's invalid
Parses the #uri, returning the original uri if it's invalid
Parses the #uri returning the original uri if it ' s invalid
def parse(uri)
    return uri unless uri.is_a?(String)
    parse!(uri)
  rescue URI::InvalidURIError
    uri
  end
def parse ( uri ) return uri unless uri . is_a? ( String ) parse! ( uri ) rescue URI :: InvalidURIError uri end
Parses the #uri, returning the original uri if it's invalid
Parses the #uri returning the original uri if it ' s invalid
uri
<not_specific>