rdev_minor Returns the minor part of File::Stat#rdev or nil if the operating system doesn't support this feature. : rdev « File Directory « Ruby






rdev_minor Returns the minor part of File::Stat#rdev or nil if the operating system doesn't support this feature.


File.stat("/dev/disk0s1").rdev_minor
File.stat("/dev/tty").rdev_minor

 

Related examples in the same category

1.rdev Returns an integer representing the device type
2.rdev_major: the major part of File::Stat#rdev or nil if the operating system doesn't support this feature.