method

dev

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

Returns an integer representing the device on which stat resides.

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