method

getuid

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

Returns the (real) user ID of this process.

Process.uid   #=> 501