/enumerable

This repository contains a collection of the Ruby Enumerable-like methods implemented using Ruby, which corresponds to my first solo project in the Ruby Course from the Microverse Main Curiiculum. This project is a collection of methods similar to some of those that are part of the Ruby Enumerable Module, which I developed in the framework of the Microverse Curriculum. I tried as much as possible to follow strictly the guidelines and, in this way, I developed and tested the methods consistently. The main file of the project contains the methods and all the tests that I carried out, properly described, and commented with the names of the methods, the inputs, and outputs. It should be noted that the "multiply_els" method is declared outside the Enumerable module according to the project instructions. The "my_map" method was developed in three versions: my_map: which receives an array of elements and a block my_map_proc: which receives an array and a proc my_map_pb: which accepts an array and both a block and a proc. With this, I hope I have fulfilled the requirements, but as an apprentice, it is possible that some shortcomings or omissions may have gone unnoticed.

Primary LanguageRuby

Stargazers