= private = protected
exist?(p1)
Returns true if the named file is a directory, false otherwise.
static VALUE rb_file_exist_p(VALUE obj, VALUE fname) { struct stat st; if (rb_stat(fname, &st) < 0) return Qfalse; return Qtrue; }