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

module function Process::UID?.rid

rid -> Integer[permalink][rdoc][edit]
() → Integer

現在の実ユーザ ID を返します。