Sha256: 92fa8e93f0d2e9bb37d49c73e34bb5821d39d12f7f49965dfd17f7980c07d039

Contents?: true

Size: 201 Bytes

Versions: 4

Compression:

Stored size: 201 Bytes

Contents

module Otacrawler
  class Robot
    def run
      sites.each do |site|
        site.analyze
      end
    end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
otacrawler-0.1.3 lib/otacrawler/robot.rb
otacrawler-0.1.2 lib/otacrawler/robot.rb
otacrawler-0.1.1 lib/otacrawler/robot.rb
otacrawler-0.1.0 lib/otacrawler/robot.rb