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

instance method Etc::Passwd#gid=

gid=(gid)Ruby 2.5.0 から[permalink][rdoc][edit]

このユーザの gid を設定します。