# you can use the store method to add a pair to the myHash array myHash = { 1 => "One", 2 => "Two", 3 => "Three", 4 => "Four", 5 => "Five" } myHash.store(6, "Six")