On Dec 8, 2011, at 23:06, Mayank Kohaley <mayank.kohaley / gmail.com> 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.