method

rid

ruby latest stable - Class: Process::UID
rid()
public

Returns the (real) user ID of this process.

Process.uid   #=> 501