method

path

ruby 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"