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

instance method Etc::Passwd#uid=

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

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