Georjane / Enumerable-Methods

In this project, we built our own enumerable methods. Enumerable modules are methods that get mixed into the Array and Hash classes (among others) and provide us with lots of handy iterator methods.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enumerable-Methods

Enumerable modules are methods that gets mixed into the Array and Hash classes (among others) and provides us with lots of handy iterator methods. In this project, we built our own enumerable methods while using the Git flow for the first time

  • my_each
  • my_each_with_index
  • my_select
  • my_all?
  • my_any?
  • my_none?
  • my_count
  • my_map
  • my_inject

Built With

  • Ruby

Getting Started

To get a local copy of the repository please run the following commands on your terminal:

$ git clone https://github.com/Georjane/Enumerable-Methods.git
$ cd <Enumerable-Methods>

To run the code:

$ ruby enumerable.rb

Testing

Install Rspec

$ gem install rspec

To test the code, run rspec from root of the folder using terminal as follows

rspec

Rspec is used for the test.

Authors

👤 Luciano Ilha

👤 Lucas Delbel

👤 Witah Ngu Geojane

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Project originally taken from The Odin Project
  • This project is part of Microverse Program

About

In this project, we built our own enumerable methods. Enumerable modules are methods that get mixed into the Array and Hash classes (among others) and provide us with lots of handy iterator methods.


Languages

Language:Ruby 100.0%