From: Michael Fellinger Date: 2010-07-14T18:07:59+09:00 Subject: Re: gets() -- Need to skip when no response after 20seconds On Wed, Jul 14, 2010 at 5:48 PM, Raveendran .P wrote: > Hi Park, > >> If you try the code with Ruby 1.9.1 >> (http://rubyforge.org/frs/download.php/71495/rubyinstaller-1.9.1-p429.exe), >> It will work. > > > But my environment is Ruby 1.8.7. I need to implement this particular > task in existing application. if select([$stdin], nil, nil, 20) p gets end > > > -- > Posted via http://www.ruby-forum.com/. > > -- Michael Fellinger CTO, The Rubyists, LLC