= private = protected
directory?()
Returns true if the named file is a directory, or a symlink that points at a directory, and false otherwise.
File.directory?(".")
static VALUE rb_stat_d(VALUE obj) { if (S_ISDIR(get_stat(obj)->st_mode)) return Qtrue; return Qfalse; }