stat.rdev â fixnum or nil
Instance Public methods
Returns an integer representing the device type on which stat
resides. Returns nil
if the operating system doesn't
support this feature.
1 2 | File .stat( "/dev/fd1" ).rdev #=> 513 File .stat( "/dev/tty" ).rdev #=> 1280 |
Please login to continue.