method

grpowned?

v2_2_9 - 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