Microverse Ruby Project #2 -> Enumerable methods using ruby
In this project we created an Enumerable module, that has several custom enumerable methods:
- #my_each
- #my_each_with_index
- #my_select
- #my_all?
- #my_any?
- #my_none?
- #my_count
- #my_map (it also accepts proc)
- #my_inject
At the same time we added #muptiply_els which multiplies all the elements of the array together by using #my_inject .
- Ruby,
- Rubocop
To get a local copy up and running follow these simple example steps.
Besides the live demo link, you can run those functions in you own local environment.
In order to run, you need to install RUBY in your computer. For windows you can go to Ruby installer and for MAC and LINUX you can go to Ruby official site for intructions on how to intall it.
Then you can clone the project by typing git clone https://github.com/RaminMammadzada/ruby-enumerable-methods/tree/develop
In the terminal you just have to put the following command:
ruby tests.rb
👤 Ramin Mammadzada
- Github: @RaminMammadzada
- Twitter: @RaminMammadzada
- Linkedin: @RaminMammadzada
👤 Mateo mojica
- Github: @mateomh
- Twitter: @mateo_m_h
- Linkedin: Mateo mojica
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- Odin project
This project is MIT licensed.