Method: Arachnid2#initialize

Defined in:
lib/arachnid2.rb

#initialize(url) ⇒ Arachnid2

Creates the object to execute the crawl

Examples:

url = "https://daringfireball.net"
spider = Arachnid2.new(url)

Parameters:

  • url (String)


65
66
67
# File 'lib/arachnid2.rb', line 65

def initialize(url)
  @url = url
end