Project: Custom Enumerables

Introduction

You should be very familiar with the Enumerable module that gets mixed into the Array and Hash classes (among others) and provides you with lots of handy iterator methods. To prove that there’s no magic to it, you’re going to rebuild those methods.

Assignment

  1. Fork and clone our custom enumerables repo
  2. Follow the instructions in the README to get the repo setup locally
  3. Rebuild each of the methods in this table and make sure they all pass the tests associated with them.
Improve this lesson on GitHub

Have a question?

Chat with our friendly Odin community in our Discord chatrooms!

Open Discord