socket? Returns true if the file is a socket : socket « File Directory « Ruby






socket? Returns true if the file is a socket


File.stat("testfile").socket?  

 

Related examples in the same category