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