Module: HQ::CheckSite::Script::CustomHTTP::CustomSocket

Defined in:
lib/hq/check-site/script.rb

Class Method Summary collapse

Class Method Details

.open(address, *args) ⇒ Object



29
30
31
# File 'lib/hq/check-site/script.rb', line 29

def self.open address, *args
	return TCPSocket.open @override_address, *args
end

.override_address=(arg) ⇒ Object



26
27
28
# File 'lib/hq/check-site/script.rb', line 26

def self.override_address= arg
	@override_address = arg
end