Timer command line app in Ruby