Skip to content
instance method

File::Stat#uid

() -> ::Integer
stat.uid → integer

Returns the numeric user id of the owner of stat.

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