Or this slightly shorter version:

  thread_a = Thread.new { Net::HTTP.get site_a }
  thread_b = Thread.new { Net::HTTP.get site_b }
  thread_c = Thread.new { Net::HTTP.get site_c }
  val1 = thread_a.value
  val2 = thread_b.value
  val3 = thread_c.value
-- 
Posted via http://www.ruby-forum.com/.