Re: setting nil to zero

Logan C. [mailto:[email protected]] :

f[w] = f[w].to_i + 1

i felt like being the dumbest guy on earth .
this one works for both arrays and hashes.
thank you for the uber cool tip, ruby hacker logan (though i have to
squinch my eyes a bit for that quick hack :slight_smile:

thanks to all too and kind regards -botp