timeout(1) do
  $stdin.gets
end


This program is not stopped until user input enter key.
Help me!!

-- 
Posted via http://www.ruby-forum.com/.