I\'m new to Ruby and don\'t know how to add new item to already existing hash. For example, first I construct hash:
hash = {item1: 1}
after
hash[key]=value Associates the value given by value with the key given by key.
hash[:newKey] = "newValue"
From Ruby documentation: http://www.tutorialspoint.com/ruby/ruby_hashes.htm