method

path

v1_9_3_392 - Show latest stable - Class: UNIXSocket
path()
public

Returns the path of the local address of unixsocket.

s = UNIXServer.new("/tmp/sock")
p s.path #=> "/tmp/sock"