Daniel DeLorme
4/1/2008 6:29:00 AM
darren kirby wrote:
> quoth the Julian Leviston:
>> What he's saying is if you want to retain the value of "false" or
>> "nil", that won't work too well
>
> Ahh, OK.
>
> Not a prob. In my use case the hash key will be set to a string or it will not
> exist.
You could also use
foo = hash.fetch("some_key", foo)
--
Daniel