Connect to the given UNIX domain socket
# File lib/rev/socket.rb, line 213 def self.connect(path, *args) new(::UNIXSocket.new(path), *args) end
# File lib/rev/socket.rb, line 217 def initialize(socket) raise ArgumentError, "socket must be a UNIXSocket" unless socket.is_a? ::UNIXSocket super @address_family, @path = socket.peeraddr end