Skip to content

Instantly share code, notes, and snippets.

Created December 15, 2009 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/256610 to your computer and use it in GitHub Desktop.
Save anonymous/256610 to your computer and use it in GitHub Desktop.
require "rubygems"
require "celerity"
threads = []
3.times do |n|
threads << Thread.new do
b = Celerity::Browser.start "a#{n}.com"
p [n, Time.now, b.title]
end
sleep 1
end
threads.each { |t| t.join }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment