------ art_17163_32060192.1201788109226 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I joined Ruby Talk couple of days before and this is my first post. I am a newbie and tring to learn Ruby from last one month. I have written spec for the problem (This is the first time I am playing with RSpec) - http://pastie.caboo.se/145869 And this is my (naive :-( ) solution - http://pastie.caboo.se/145888 Solving this first problem was fun. :-) I learned a lot from everyone's post. Cheers, Amey ------ art_17163_32060192.1201788109226--