2006年 12月 27日

Ruby countdown

(5 * 60).downto(0) do |i|
    print i, "\r" 
    $stdout.flush
    sleep 1
end