jampamatos / custom_enumerable_project

TOP Custom Enumerable Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Enumerable Project

This repository complements the Custom Enumerables Project in the Ruby Course for The Odin Project. The goal of this project is to reimplement common methods used frequently through the enumerables module with objects like arrays and hashes. This project will also familiarize you with how to work with blocks and procs. Some starter code and specs are provided to validate the correctness of your solutions.

Methods

The following table has the methods that were implemented along with their associated specs, as outlined in the project instructions.

Method Spec File Notes
Array#my_each spec/my_each_spec.rb You will define my_each on the Array class in lib/my_enumerables.rb
Enumerable#my_each_with_index spec/my_each_with_index_spec.rb
Enumerable#my_select spec/my_select_spec.rb
Enumerable#my_all? spec/my_all_spec.rb
Enumerable#my_any? spec/my_any_spec.rb
Enumerable#my_none? spec/my_none_spec.rb
Enumerable#my_count spec/my_count_spec.rb
Enumerable#my_map spec/my_map_spec.rb
Enumerable#my_inject spec/my_inject_spec.rb

About

TOP Custom Enumerable Project


Languages

Language:Ruby 100.0%