method

dev

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

Returns an integer representing the device on which stat resides.

File.stat("testfile").dev   #=> 774