From: Ivan Cenov Date: 2012-12-03T20:37:39+09:00 Subject: Re: If statement На 3.12.2012 г. 13:35 ч., Masoud Ahmadi написа: > This row solved my problem, > if op == "Q\n" > I was not aware of this little new line thing > > Cheers everyone > if ["Q\n", "q\n"].include?(op) should work too... -- Regards, Ivan Cenov OKTO-7 Co. Bulgaria imc@okto7.com, i_cenov@botevgrad.com mobile:+359888761080, phone:+35972366161, fax:+_35972366262