Ruby's arrays are capable of containing many types of objects. Arrays can be concatenated or repeated in the same manner as strings. We can get a part of a array. Arrays and Strings are convertable.
Assosiative arrays are another important data structure.
An associative array is an array with keys which can be valued in any way. Assosiative arrays are called hashes or dictionaries. In ruby world, we usually use hash . Thanks to arrays and hashes, we can make data containers easily.