method

getuid

v1_9_3_392 - Show latest stable - Class: Process::Sys
getuid()
public

Returns the (real) user ID of this process.

Process.uid   #=> 501