Ruby 4.1 リファレンスマニュアル

singleton method File.setgid?

setgid?(path) -> bool[permalink][rdoc][edit]
(path | IO file_name) → bool

FileTest?.setgid? と同じです。

[PARAM] path:
パスを表す文字列か IO オブジェクトを指定します。