Ruby Enumerable methods are rebuilt to solidify my understanding of Ruby Array, methods, Procs, Blocks, yield, etc. This project is created from scratch and solely by @Kyle-Law. The project is built according to this project on the odin project, assignment 2.
This project is also the second project of Microverse Software Development Program - Ruby Section. Branches that merged into the master branch are verified and approved by Microverse's Technical Support Engineers.
This project is achieved under the following restrictions:
- Module must below 100 lines(except comments).
- Each methods must below 20 lines.
yield
must be usedmy_each
,my_each_with_index
,my_select
,my_map
return the Enumerator when no argument/block is givenmy_all?
,my_any?
,my_none?
can check for Class/Regex/Other parameter
- Ruby
- VS Code
- clone this repo into your local folder
- cd to
Enumerables
folder - run
rspec spec/enumerables_rspec.rb
in command line 30 examples, 0 failures
should be output.
👤 Kyle Law
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- The Odin Project
This project is MIT licensed.