D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Pathname
/
Filename :
join-i.ri
back
Copy
U:RDoc::AnyMethod[iI" join:ETI"Pathname#join;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"LJoins the given pathnames onto +self+ to create a new Pathname object. ;TI"KThis is effectively the same as using Pathname#+ to append +self+ and ;TI" all arguments sequentially.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Apath0 = Pathname.new("/usr") # Pathname:/usr ;TI"Jpath0 = path0.join("bin/ruby") # Pathname:/usr/bin/ruby ;TI" # is the same as ;TI"Jpath1 = Pathname.new("/usr") + "bin/ruby" # Pathname:/usr/bin/ruby ;TI"path0 == path1 ;TI" #=> true;T:@format0: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*args);T@FI" Pathname;TcRDoc::NormalClass00