Class: NetworkFacade::Unix::Client

Inherits:
Base::Client show all
Defined in:
lib/network-facade/unix.rb

Instance Method Summary collapse

Methods inherited from Base::Client

#__read__, #__write__, inherited, #method_missing, uri=

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



7
8
9
10
11
# File 'lib/network-facade/unix.rb', line 7

def initialize(options = {})
	super
	options[:path] ||= PATH
	@client = UNIXSocket.open(options[:path])
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class NetworkFacade::Base::Client