Method: File.join

Defined in:
file.c

.join(string, ...) ⇒ String

Returns a new string formed by joining the strings using File::SEPARATOR.

File.join("usr", "mail", "gumby")   #=> "usr/mail/gumby"

Returns:



4400
4401
4402
4403
4404
# File 'file.c', line 4400

static VALUE
rb_file_s_join(VALUE klass, VALUE args)
{
    return rb_file_join(args, separator);
}