From: Peter Szinek Date: 2007-11-12T20:44:40+09:00 Subject: Re: case when when Hi Shuaib, > I know that when provides conditions and I can use them but I am just > wondering what is the way because i did not find it in books and online case x when 5,6,7: puts 'a' when 10,11: puts 'b' end HTH, Peter ___ http://www.rubyrailways.com http://scrubyt.org