From: Mark Kirby Date: 2010-05-17T00:35:54+09:00 Subject: user defined if condition hi iv just started to learn ruby 2 days ago and have no programing exp so sorry if this is a stupid question what i want to do is have some thing happen depending on the exact word or number the user imputs hears an exampel puts "what is 2=2 " input=gets if #the user presses 2 then puts "correct" else puts "wrong" what would i put in the # section or is it more complicated than this thanks -- Posted via http://www.ruby-forum.com/.