title: How to overwrite a printed line in the shell with Ruby?
body: <p>How would I overwrite the previously printed line in a Unix shell with Ruby?</p>
  
  <p>Say I'd like to output the current time on a shell every second, but instead of stacking down each time string, I'd like to overwrite the previously displayed time.</p>