# File lib/analyzer_tools/crawl.rb, line 36 def run url = @start_url @thread_count.times do Thread.start do @threads.add Thread.current loop do puts ">>> #{url}" body = timed_request url url = extract_url_from body, url end end Thread.pass end @threads.list.first.join until @threads.list.empty? end