Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > module Process > uid
uid -> Integer
プロセスの実ユーザ ID を返します。
[SEE_ALSO] getuid(2)