The Enumerable module that gets mixed into the Array and Hash classes (among others) and provides you with lots of handy iterator methods. To prove that there's no magic to it, custom build of those methods.
This iterators are built using ruby v2.7
- Ruby
- rubocop for linting purpose
Install on Your Own Machine. You can skip the linter setup if you don't want to validate the code against good coding standards.
Set up your machine.
- ruby
- rubocop
- rspec
- Follow the link below to install git
- Follow the link below to install ruby
- Follow the link below to set up rspec
- Follow the link below to set up a linter
- Clone the repository
Clone the repository by run the code below on your computer terminal.
git clone https://github.com/abredi/ruby-custom-enumerables.git
TO run unit tests
Open your terminal then go to the project directory and execute
rspec
command For running the program Open your terminal then go to the project directory and run theruby lib/main.rb
file on your terminal.
👤 Abdulaziz Ali
- Github: @abredi
- Twitter: @rediabdulaziz
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- [Thanks for Microverse][https://github.com/microverseinc]
This project is MIT licensed.