stat.socket? รข true or false
Instance Public methods
Returns true
if stat is a socket, false
if it isn't or if the operating system doesn't support this
feature.
File.stat("testfile").socket? #=> false
Returns true
if stat is a socket, false
if it isn't or if the operating system doesn't support this
feature.
File.stat("testfile").socket? #=> false
Please login to continue.