In Ruby, one can append values to existing arrays using <<:
a = []
a << "foo"
but, can you also append key/value pairs to an existing hash?
h = {}
h << :key "bar"
I know you can do:
h[:key] = ""
h[:key] << "bar"
but that's not I want.
Thanks.