Exception: RHACK::Scout::ProxyError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/rhack/scout.rb

Instance Method Summary collapse

Constructor Details

#initialize(proxy) ⇒ ProxyError

Returns a new instance of ProxyError.



21
22
23
24
# File 'lib/rhack/scout.rb', line 21

def initialize proxy
  super "incorrect proxy: %s class %s, must be an Array
      proxy format: ['127.0.0.1', '80'], [2130706433, 80], ['someproxy.com', :WebproxyModule]"%[proxy.inspect, proxy.class]
end