Do you know about $!?  It holds the last error Ruby encountered.  Instead of 

> rescue 
>      puts("TEST FAILED.") 
> end

try 

rescue
    puts ("Test failed.  Error:  " + $!)
end

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to