Class: Otacrawler::Robot

Inherits:
Object
  • Object
show all
Defined in:
lib/otacrawler/robot.rb

Instance Method Summary collapse

Instance Method Details

#runObject



3
4
5
6
7
# File 'lib/otacrawler/robot.rb', line 3

def run
  sites.each do |site|
    site.analyze
  end
end

#sitesObject



9
10
11
# File 'lib/otacrawler/robot.rb', line 9

def sites
  Otacrawler.sites.map {|site_class| site_class.new }
end