Alex Barrett wrote:
> rand(9) fixes this.

But not 100% satisfactorily. I'll stick with my first version :)

-- 
Posted via http://www.ruby-forum.com/.