# File lib/celluloid/io/unix_socket.rb, line 20 def initialize(socket_path, &block) # Allow users to pass in a Ruby UNIXSocket directly if socket_path.is_a? ::UNIXSocket super(socket_path) return end # FIXME: not doing non-blocking connect if block super ::UNIXSocket.open(socket_path, &block) else super ::UNIXSocket.new(socket_path) end end