method

dev

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

Returns an integer representing the device on which stat resides.

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