Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > etcライブラリ > Etc::Groupクラス > gid

instance method Etc::Group#gid

gid -> Integer[permalink][rdoc]

グループ ID を返します。