Enumerable is a module in Ruby that provides many methods that can help with traversal, transforming, sorting, and filtering. Any class that can implement the #each method can use Enumerable methods, which will then yield each item in the collection to a block.The main aim of this project is to create your own enumerable methods,which has the same behaviour with the normal methods.
- Ruby
Each
Each_with_index
Select
All?
Any?
None?
Count
Map
Inject
Clone the repository to your local machine
$ git clone https://github.com/kobiyoyo/Enumerable-Methods.git
navigate
cd
into the cloned directory
$ cd Enumerable-Methods
👤 Adama Chubiyojo Desmond
👤 Danilo Zagarcanin
- Fork it (https://github.com/kobiyoyo/Enumerable-Methods/fork)
- Create your feature (dev) branch (git checkout -b feature/[choose-a-name])
- Commit your changes (git commit -m 'What this commit will fix/add')
- Push to the branch (git push origin feature/[chosen name])
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details