method

uid

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

Returns the numeric user id of the owner of stat.

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