title: In Ruby, how do I combine sleep with gets? I want to wait for user response for 1 min, otherwise continue
body: <p>I'm running a loop, in which I wait for a user response using the "gets.chomp" command.
  How can I combine that with a sleep/timer command?</p>
  
  <p>For example. I want it to wait 1 min for the user to enter a word, otherwise it would continue back to the loop.</p>