Mega Code Archive
Categories
/
Ruby
/
Threads
Waiting a Certain Amount of Time
3.downto(1) { |i| puts "#{i}..."; sleep(1) }; puts "Go!"