Join the DZone community and get the full member experience.Join For Free
Source: Class: File [ruby-doc.org]
Returns a new string formed by joining the strings using File::SEPARATOR.
File.join("usr", "mail", "gumby") #=> "usr/mail/gumby"
Opinions expressed by DZone contributors are their own.