D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
URI
/
Filename :
split-c.ri
back
Copy
U:RDoc::AnyMethod[iI" split:ETI"URI::split;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BReturns a 9-element array representing the parts of the \URI ;TI"#formed from the string +uri+; ;TI"-each array element is a string or +nil+:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Onames = %w[scheme userinfo host port registry path opaque query fragment] ;TI"qvalues = URI.split('https://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top') ;TI"names.zip(values) ;TI" # => ;TI"[["scheme", "https"], ;TI" ["userinfo", "john.doe"], ;TI"# ["host", "www.example.com"], ;TI" ["port", "123"], ;TI" ["registry", nil], ;TI"% ["path", "/forum/questions/"], ;TI" ["opaque", nil], ;TI"0 ["query", "tag=networking&order=newest"], ;TI" ["fragment", "top"]];T:@format0: @fileI"lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[ I" (uri);T@ FI"URI;TcRDoc::NormalModule00