Method: Pathname#opendir

Defined in:
pathname.c

#opendirObject

Opens the referenced directory.

See Dir.open.



1237
1238
1239
1240
1241
1242
1243
1244
# File 'pathname.c', line 1237

static VALUE
path_opendir(VALUE self)
{
    VALUE args[1];

    args[0] = get_strpath(self);
    return rb_block_call(rb_cDir, id_open, 1, args, 0, 0);
}