--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns <tt>true</tt> if <em>stat</em> is a socket, <tt>false</tt> if it isn't or if the operating system doesn't support this feature.
- !ruby/struct:SM::Flow::VERB
body: " File.stat("testfile").socket? #=> false\n"
full_name: File::Stat#socket?
is_singleton: false
name: socket?
params: |
stat.socket? => true or false
visibility: public