/ruby-enumerable-methods

Rebuilding some commonly used iterator methods using Ruby's Enumerable module

Primary LanguageRuby

Enumerable Methods

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:

Then one more method multiply_els to test #my_inject method

Built With

  • Ruby
  • Rubocop (Style guide cop :-D)

Live Code

Run on Repl.it

Getting Started

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/

Test

  1. Open a terminal
  2. Run 'gem install rspec'
  3. Run 'cd ruby-enumerables'
  4. Run rspec --init’ to install rspec in directory

Run

  1. Run 'rspec' in the terminal
  2. In the terminal, you should see if the tests pass or fail. screenshot

Authors

👤 ** Kamwa Emmanuelle Alix**

👤 Damilola Oduronbi

👤 Ntwali Heritier

🤝 Contributing

Contributions, issues and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!