= private = protected
delete(p1)
Deletes the named directory. Raises a subclass of SystemCallError if the directory isn’t empty.
static VALUE dir_s_rmdir(VALUE obj, VALUE dir) { check_dirname(&dir); if (rmdir(RSTRING_PTR(dir)) < 0) rb_sys_fail_path(dir); return INT2FIX(0); }