--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the number of hard links to <em>stat</em>.
- !ruby/struct:SM::Flow::VERB 
  body: "   File.stat(&quot;testfile&quot;).nlink             #=&gt; 1\n   File.link(&quot;testfile&quot;, &quot;testfile.bak&quot;)   #=&gt; 0\n   File.stat(&quot;testfile&quot;).nlink             #=&gt; 2\n"
full_name: File::Stat#nlink
is_singleton: false
name: nlink
params: |
  stat.nlink   => fixnum

visibility: public
