Flowdock
rdev() public

Returns an integer representing the device type on which stat resides. Returns nil if the operating system doesn’t support this feature.

   File.stat("/dev/fd1").rdev   #=> 513
   File.stat("/dev/tty").rdev   #=> 1280
Show source
Register or log in to add new notes.