Hash is a collection of unique keys and values. Hash is similar to Array, but where an Array uses integers as it’s index, Hash allows you to use any object type. Hash syntax looks like this:

hash = {
key1 => value1,
key2 => value2,
key3 => …

Read more at the source