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