Unnikrishnan Nair: > I wrote down the test and display the result on the console with puts. A meta-level note: beware of running things via irb. Things like __FILE__ don't behave the way you would expect them to because irb is a Ruby program. If in doubt, write your code in a file and run it via ruby.exe. Thanks, -John