method

uid

v2_4_6 - Show latest stable - Class: File::Stat
uid()
public

Returns the numeric user id of the owner of stat.

File.stat("testfile").uid   #=> 501