dev_major Returns the major part of File::Stat#dev or nil if the operating system doesn't support this feature. : dev « File Directory « Ruby






dev_major Returns the major part of File::Stat#dev or nil if the operating system doesn't support this feature.


puts File.stat("testfile").dev_major 

 

Related examples in the same category

1.dev Returns an integer representing the device.
2.dev_minor Returns the minor part of File::Stat#dev or nil if the operating system doesn't support this feature.