From: "Carlo E. Prelz" Date: 2013-04-12T00:22:41+09:00 Subject: Re: confusion with gets, if Subject: confusion with gets, if Date: ven 12 apr 13 12:16:22 +0900 > hi I'm new to ruby and im trying to write some simple codes but i cant > get the 'if's to work. below what i mean. how can i fix the ruby code > for the ifs to work? Here: > if input == '10' you check against a string, but here: > elsif input == 20 and here: > elsif input == 30 you check against an integer... I don't know about the rest. Carlo -- * Se la Strada e la sua Virtu' non fossero state messe da parte, * K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)