Method: God::Socket#initialize
- Defined in:
- lib/god/socket.rb
#initialize(port = nil) ⇒ Socket
Create a new Server and star the DRb server
+port+ is the port on which to start the DRb service (default nil)
41 42 43 44 |
# File 'lib/god/socket.rb', line 41 def initialize(port = nil) @port = port start end |