Method: File::Stat#directory?
- Defined in:
- file.c
#directory? ⇒ Boolean
5756 5757 5758 5759 5760 5761 |
# File 'file.c', line 5756
static VALUE
rb_stat_d(VALUE obj)
{
if (S_ISDIR(get_stat(obj)->st_mode)) return Qtrue;
return Qfalse;
}
|