Flowdock
method

unix?

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Addrinfo
unix?() public

returns true if addrinfo is UNIX address. returns false otherwise.

Addrinfo.tcp("127.0.0.1", 80).unix? #=> false
Addrinfo.tcp("::1", 80).unix?       #=> false
Addrinfo.unix("/tmp/sock").unix?    #=> true
Show source
Register or log in to add new notes.