rdev « File Directory « Ruby






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.
3.rdev_minor Returns the minor part of File::Stat#rdev or nil if the operating system doesn't support this feature.