Within this repository you will find an implementation of some Ruby enumerable methods.
First you need to clone the repository with the command:
git clone https://github.com/Chincoya/Capstone-Sneakers-Shop
on your command prompt. Then, copy the enumerable.rb file into your project's directory and load it into your program using:
require 'enumerable.rb'
The methods implemented are
#my_each
#my_each_with_index
#my_select
#my_all?
#my_any?
#my_none?
#my_count
#my_map
#my_inject
Several RSpec tests were implemented, checking regular and fringe cases, to assure functionality.
Daniel Chincoya | @chincoya7 Raphael Cordeiro | GitHub