Hash has a class method [], which is called in either one of two ways: with a comma separating the pairs
myHash = Hash[ :name, "Jack", :partner, "Jane", :employee, "Joe", :location, "London", :year, 1843 ]