- Create arrays in different ways.
- Use array indexes to return values from an array.
- Use methods to traverse an array.
- Reference the Ruby documentation throughout your workflow.
- Fork and clone this repository.
- Run the test suite with the
learn
command in your command line. - The first set of tests will require you to build methods that instantiate and return arrays. Read the
_spec.rb
file to learn what is required of you to get the tests passing. - The second set of tests requires you to use indexing to access certain array elements. Read the
_spec.rb
file to learn what is required of you to get the tests passing. - The third set of tests requires you to use array methods to access array elements and perform other operations on arrays. Read the
_spec.rb
file to learn what is required of you to get the tests passing.
View Introduction To Arrays Lab on Learn.co and start learning to code for free.