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

instance method Etc::Passwd#name=

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

このユーザのログイン名を設定します。