method

geteuid

ruby latest stable - Class: Process::Sys
geteuid()
public

Returns the effective user ID for this process.

Process.euid   #=> 501