Class: BruteTools::ProxyList::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/brutetools/base/proxy_list.rb

Instance Method Summary collapse

Constructor Details

#initialize(proxies) ⇒ Base

TODO: finish this!



7
8
9
# File 'lib/brutetools/base/proxy_list.rb', line 7

def initialize(proxies)
  @list = proxies
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args, &block) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/brutetools/base/proxy_list.rb', line 11

def method_missing(meth, *args, &block)
  if @list.respond_to? meth
    @list.send(meth, *args, &block)
  else
    super
  end
end