Class: Otacrawler::Robot
- Inherits:
-
Object
- Object
- Otacrawler::Robot
- Defined in:
- lib/otacrawler/robot.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
3 4 5 6 7 |
# File 'lib/otacrawler/robot.rb', line 3 def run sites.each do |site| site.analyze end end |
#sites ⇒ Object
9 10 11 |
# File 'lib/otacrawler/robot.rb', line 9 def sites Otacrawler.sites.map {|site_class| site_class.new } end |