grpowned?()
public
Returns true if the effective group id of the process is the same as the
group id of stat. On Windows NT, returns false.
File.stat("testfile").grpowned?
File.stat("/etc/passwd").grpowned?
Show source
static VALUE
rb_stat_grpowned(VALUE obj)
{
if (rb_group_member(get_stat(obj)->st_gid)) return Qtrue;
return Qfalse;
}