From: Ryan Davis Date: 2011-12-09T16:38:55+09:00 Subject: Re: How can I do h["foo"] += "bar" if h["foo"] does not exist? On Dec 8, 2011, at 23:06, Mayank Kohaley wrote: > You can have something like this to check whether the key is present or > not- > > h["key"] += value if h["key"] Values can be false/nil.