What is a multi-dimensional array

In Ruby, a multi-dimensional array is an array that contains other arrays as its values or members. The container array is termed an outer array, and the member array is termed an inner array. An array is said to be a nested array if it has another array as one or more of its members, even if all other members of the outer array are not arrays.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy