This is the fourth project of the fourth module in the Microverse program.
Check the below contents for further details about this project.
This repository includes a class file MyList & a module file MyEnumerable.
📌 Tech Stack:
- Code built with
Ruby
📌 Key Features:
- Class
MyListincludes a module & contains two methods - First method is to intialize the class with an array instance
list - Second method
eachimplements looping throughlistinstance - Module
MyEnumerablecontains methods for several array operations - First method
allchecks if all elements oflistarray meets a comparison - Second method
anychecks if any element oflistarray meets a comparison - Third method
filterreturn a new array if any element oflistarray meets a condition - Fourth method
minreturns the minimum value inlistarray - Fifth method
maxreturns the maximum value inlistarray
You can easily download or fork this repository and work on it immadiately!
📌 Prerequisites:
- You need
Rubylanguage installed
📌 Installation:
- To install all gem dependencies run
bundle install
📌 Development:
- Run project with
ruby list.rb
📌 Mahammad:
📌 Carlos:
📌 Austin:
Some additional features I may implement in the project:
- Implement Object oriented programming
Wish to contribute to this project?
Contributions, issues, and feature requests are more than welcome!
Feel free to check the issues page too.
Like this project? Show your support by starring!
I thank everyone at Microverse for guiding me through this project.
This project is MIT licensed.