File: C:/Ruby27-x64/share/ri/2.7.0/system/Bundler/URI/parse-c.ri
U:RDoc::AnyMethod[iI"
parse:ETI"Bundler::URI::parse;TT:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli: textI"
Synopsis;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I""Bundler::URI::parse(uri_str)
;T:@format0S;
;i;I" Args;T@
o:RDoc::Markup::List:
@type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"+uri_str+;T; [o:RDoc::Markup::Paragraph; [I"String with Bundler::URI.;T@
S;
;i;I"Description;T@
o;; [I"KCreates one of the Bundler::URI's subclasses instance from the string.;T@
S;
;i;I"Raises;T@
o;;;;[o;;[I""Bundler::URI::InvalidURIError;T; [o;; [I"7Raised if Bundler::URI given is not a correct one.;T@
S;
;i;I"
Usage;T@
o;; [
I"*require 'bundler/vendor/uri/lib/uri'
;TI"
;TI";uri = Bundler::URI.parse("http://www.ruby-lang.org/")
;TI":# => #<Bundler::URI::HTTP http://www.ruby-lang.org/>
;TI"uri.scheme
;TI"# => "http"
;TI"uri.host
;TI"# => "www.ruby-lang.org"
;T;0o;; [I"PIt's recommended to first ::escape the provided +uri_str+ if there are any ;TI"%invalid Bundler::URI characters.;T:
@fileI"-lib/bundler/vendor/uri/lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[ I"
(uri);T@<FI"URI;TcRDoc::NormalModule00