Module: ProxyManager
- Defined in:
- lib/proxy_manager.rb,
lib/proxy_manager/main.rb
Defined Under Namespace
Classes: Main
Class Method Summary (collapse)
-
+ (Class) load(proxies, bad_proxies = nil)
Create main object.
-
+ (String) root
Define gem's root path.
Class Method Details
+ (Class) load(proxies, bad_proxies = nil)
Create main object
22 23 24 |
# File 'lib/proxy_manager.rb', line 22 def self.load(proxies, bad_proxies = nil) Main.new(proxies, bad_proxies) end |
+ (String) root
Define gem's root path
7 8 9 |
# File 'lib/proxy_manager.rb', line 7 def self.root File. '../..', __FILE__ end |