This project is about rebuilding some commonly used iterator methods using Ruby's Enumerable module
Listed below are the iterator methods rebuilt in this project:
my_each
- each- my_each_with_index - each_with_index
- my_select - select
- my_all? - all?
- my_any? - any?
- my_none? - none?
- my_count - count
- my_map - map
- my_inject - inject
Then one more method multiply_els
to test #my_inject method
- Ruby
- Rubocop (Style guide cop :-D)
To get a local copy of the repository please run the following commands on your terminal:
$ git clone https://github.com/oracleot/ruby-enumerable-methods.git
$ cd ruby-enumerable-methods/
- Open a terminal
- Run 'gem install rspec'
- Run 'cd ruby-enumerables'
- Run rspec --init’ to install rspec in directory
👤 ** Kamwa Emmanuelle Alix**
- Github: emmanuellekamwa
- Twitter: @twitterhandle
- Linkedin: linkedin
👤 Damilola Oduronbi
- Github: oracleot
👤 Ntwali Heritier
- Github: @NtwaliHeritier
- Twitter: @NtwaliHeritier
- Linkedin: Ntwali Heritier
Contributions, issues and feature requests are welcome!
Give a ⭐️ if you like this project!