The project is based on reproducing the enumerable methods to their usable states. The functions would have the prefix #my_
attached to them, eg: the #each
function would be #my_each
.
Functions to test :
#my_each
#my_each_with_index
#my_select
#my_all?
#my_any?
#my_none?
#my_count
#my_map
#my_inject
- Ruby
👤 Uzair
- LinkedIn: LinkedIn
- GitHub: @githubhandle
To get a local copy of this project follow the steps below:
Use git clone https://github.com/uzairali19/enumerable_blocks.git
to clone the branch directly to your machine
- Run
bundle install
. - Run
rubocop
. - Fix linter errors.
- IMPORTANT NOTE: feel free to research auto-correct options for Rubocop if you get a flood of errors but keep in mind that correcting style errors manually will help you to make a habit of writing a clean code!
- Navigate the project, you can open it with VScode or any other code editor of choice
- run the code by opening up your terminal and typing
ruby enumerable.rb
- Happy coding!
- Run
bundle install
. - Run
Rake
. - See the spec log on the console to check the results.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is copyright protected, Feel free to contact the authors to collaborate.