method

setgid?

ruby latest stable - Class: FileTest
setgid?(p1)
public

Returns true if the named file has the setgid bit set.