On 5/17/06, viswesh <visweshwar_03 / rediffmail.com> wrote: > if fine == "good".casecmp("goo") > #fine == "fine" or > #fine == "ok" or > #fine == "wonderfull" I think that maybe you mean to write: if fine.casecmp("good") puts "Great!" else puts "Oh, I'm sorry." end Hope this helps, Lyle