--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if stat is a socket, false 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