require \'net/http\' urls = [ {\'link\' => \'http://www.google.com/\'}, {\'link\' => \'http://www.yandex.ru/\'}, {\'link\' => \'http://www.baidu.com/\'} ] ur
You could have a different thread execute each one of the Net::HTTP.get. And just wait for all the threads to finish.
BTW printing urls will print both the link and the content.