Method: God::Socket.socket

Defined in:
lib/god/socket.rb

.socket(port) ⇒ Object

The address of the socket for a given port

+port+ is the port number

Returns String (drb address)



21
22
23
# File 'lib/god/socket.rb', line 21

def self.socket(port)
  "drbunix://#{self.socket_file(port)}"
end