Module: Webspinne

Defined in:
lib/webspinne.rb,
lib/webspinne/link.rb,
lib/webspinne/site.rb,
lib/webspinne/index.rb,
lib/webspinne/visit.rb,
lib/webspinne/version.rb,
lib/webspinne/csv_report.rb

Defined Under Namespace

Classes: CSVReport, DoubleVisitError, Index, Link, Site, Visit

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.csv_report(index) ⇒ Object



17
18
19
# File 'lib/webspinne.rb', line 17

def self.csv_report index
  CSVReport.new(index)
end

.visit(uri, max_follows) ⇒ Object



13
14
15
# File 'lib/webspinne.rb', line 13

def self.visit uri, max_follows
  Visit.new(uri).run max_follows
end