File Directory Ruby

File.stat("testfile").uid