rdev

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.

File.stat("/dev/fd1").rdev   #=> 513
File.stat("/dev/tty").rdev   #=> 1280
doc_ruby_on_rails
2015-04-06 07:38:19
Comments
Leave a Comment

Please login to continue.