Collection ClassesA collection is any class that represents a collection of values.Array and Hash are the key collection classes in Ruby.The standard library adds a Set class.