U:RDoc::AnyMethod[iI" parse:EFI"URI::parse;TT: publico:RDoc::Markup::Document: @parts[S:RDoc::Markup::Heading: leveli: textI" Synopsis;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"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 URI.;T@ S; ; i; I"Description;T@ o;; [I"BCreates one of the URI's subclasses instance from the string.;T@ S; ; i; I" Raises;T@ o;; [I"URI::InvalidURIError;To;; [I"/Raised if URI given is not a correct one. ;T;0S; ; i; I" Usage;T@ o;; [I"require 'uri' ;TI" ;TI"2uri = URI.parse("http://www.ruby-lang.org/") ;TI" p uri ;TI"@# => # ;TI"p uri.scheme ;TI"# => "http" ;TI"p 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 URI characters.;T: @fileI"lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[I" (uri);T@:FI"URI;FcRDoc::NormalModule00