Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > module Process::UID > rid
rid -> Integer
現在の実ユーザ ID を返します。