D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
URI
/
Filename :
join-c.ri
back
Copy
U:RDoc::AnyMethod[iI" join:ETI"URI::join;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"(Merges the given URI strings +str+ ;TI"Aper {RFC 2396}[https://www.rfc-editor.org/rfc/rfc2396.html].;To:RDoc::Markup::BlankLine o; ; [I"-Each string in +str+ is converted to an ;TI"T{RFC3986 URI}[https://www.rfc-editor.org/rfc/rfc3986.html] before being merged.;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [I"0URI.join("http://example.com/","main.rbx") ;TI"3# => #<URI::HTTP http://example.com/main.rbx> ;TI" ;TI"+URI.join('http://example.com', 'foo') ;TI".# => #<URI::HTTP http://example.com/foo> ;TI" ;TI"4URI.join('http://example.com', '/foo', '/bar') ;TI".# => #<URI::HTTP http://example.com/bar> ;TI" ;TI"3URI.join('http://example.com', '/foo', 'bar') ;TI".# => #<URI::HTTP http://example.com/bar> ;TI" ;TI"4URI.join('http://example.com', '/foo/', 'bar') ;TI"1# => #<URI::HTTP http://example.com/foo/bar>;T:@format0: @fileI"lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*str);T@'FI"URI;TcRDoc::NormalModule00