method

grpowned?

v1_9_3_392 - Show latest stable - Class: File::Stat
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?      #=> true
File.stat("/etc/passwd").grpowned?   #=> false