stat.ino → fixnum
Returns the inode number for stat.
File.stat("testfile").ino #=> 1083669
Source Code
/* * call-seq: * stat.ino => fixnum * * Returns the inode number for <i>stat</i>. * * File.stat("testfile").ino #=> 1083669 * */ static VALUE rb_stat_ino(self) VALUE self; { #ifdef HUGE_ST_INO return ULL2NUM(get_stat(self)->st_ino); #else return ULONG2NUM(get_stat(self)->st_ino); #endif }
<code/>and<pre/>for code samples.