Ruby Enumerable is a project where we learned how to use a module inside a class. For this we created a class MyList
and a module MyEnumerable
. Our module MyEnumerable
implemented a subset of the functionality of Enumerable.
Client
- MyList:
- each
- each_with_index
- swap
- MyEnumerable:
- all?
- any?
- filter
- max
- min
- sort
To get a local copy up and running, follow these steps.
In order to run this project you need:
Clone this repository to your desired folder:
cd my-folder
git clone git@github.com:dicodiaz/ruby-enumerable.git
To run the project, execute the following commands:
ruby my_list.rb
👤 Dico Diaz Dussan
- GitHub: @dicodiaz
- LinkedIn: Dico Diaz Dussan
- Portfolio: portfolio.dicodiaz.com.co
👤 Mathias Wismann
- GitHub: @mwismann
- Twitter: @mathias_wismann
- LinkedIn: Mathias Wismann
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
A huge thanks to Microverse for their constant support.
This project is MIT licensed.