stat.dev → fixnum
Returns an integer representing the device on which stat resides.
File.stat("testfile").dev #=> 774
Source Code
/* * call-seq: * stat.dev => fixnum * * Returns an integer representing the device on which <i>stat</i> * resides. * * File.stat("testfile").dev #=> 774 */ static VALUE rb_stat_dev(self) VALUE self; { return INT2NUM(get_stat(self)->st_dev); }
<code/>and<pre/>for code samples.