#!/usr/koeki/bin/ruby # coding: euc-jp s0 = 10 # 開始 s1 = 1 # 終了 s0.downto(s1) do |start| printf("%d 秒前 \n", start) sleep(1) end print("発射します \n")