RubyKin

Collections

In order to store data, we use collections. There are two basic ways we store our data collections. One is called an Array, the other is called a Hash. You can think about a collection of data like a trunk of toys.

Art by Vixuong Hong

Let’s start with the Array toy chest first.