public Method

Stat.gid

stat.gid    fixnum

Returns the numeric group id of the owner of stat.

File.stat("testfile").gid   #=> 500

Source Code

/*
*  call-seq:
*     stat.gid   => fixnum
*  
*  Returns the numeric group id of the owner of <i>stat</i>.
*     
*     File.stat("testfile").gid   #=> 500
*     
*/

static VALUE
rb_stat_gid(self)
   VALUE self;
{
   return UINT2NUM(get_stat(self)->st_gid);
}
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.