Method: Explorer::IPCClient#initialize

Defined in:
lib/explorer/ipc_client.rb

#initialize(socket_path = '/tmp/explorer_ipc') ⇒ IPCClient

Returns a new instance of IPCClient.



9
10
11
12
# File 'lib/explorer/ipc_client.rb', line 9

def initialize(socket_path = '/tmp/explorer_ipc')
  @socket_path = socket_path
  @socket = UNIXSocket.open(socket_path)
end