This project is part of the Microverse curriculum in Ruby module!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Own implementation of Ruby’s enumerable methods
This is the first project of the Microverse Ruby Module
This is also the Assignment_2 of the Odin project curriculum
To test the code you need to have ruby installed in your computer or execute it in a web console like this :
This project was built using these technologies.
- Ruby
- Rubocop
- Rspec
- Atom
If you want to use the code you need to have ruby installed in your computer and copy the main.rb file from this project in your project or open an irb
console and import it like this
require_relative main.rb
You can now use my Enumerable methods like the ruby Enumerable methods:
my_each
==each
my_each_with_index
==each_with_index
my_select
==select
my_count
==count
my_all
==all
my_any
==any
my_none
==none
my_map
==map
my_inject
==inject
You can see it working here
To run the test clone or download the project, open a terminal in the project directory and run the following:
rspec spec/test_enumerables
👤 Alexandru Bangau
- LinkedIn: Alexandru Bangau
- GitHub: @rammazzoti2000
- E-mail: bangau.alexandru@gmail.com
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐ if you like this project!
This project is MIT licensed.