From: "Raveendran .P" Date: 2010-07-14T15:22:33+09:00 Subject: gets() -- Need to skip when no response after 20seconds Code: puts "Print your age" a=gets() puts "Timeout. 20 Seconds Gone. Please re-run the Applciation" Need: a=gets() is waiting for input. I need to wait only 20 seconds. If therre is no input for 20 seconds then script should continue the next line Thanks Raveendran P http://raveendran.wordpress.com -- Posted via http://www.ruby-forum.com/.