Hash Elements « Hash « Ruby






1.Changing Hashes
2.adds the value "Six" with a key 6. Or you can use []= to change a value
3.changes the value associated with the key 2 to "Bent".