Exception: RHACK::Scout::ProxyError
- Defined in:
- lib/rhack/scout.rb
Instance Method Summary collapse
-
#initialize(proxy) ⇒ ProxyError
constructor
A new instance of ProxyError.
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 |