Not found
The exact documentation you were looking for could not be found. Here is the best guess.
gid()
public
Returns the numeric group id of the owner of stat.
File.stat("testfile").gid
Show source
static VALUE
rb_stat_gid(VALUE self)
{
return GIDT2NUM(get_stat(self)->st_gid);
}