/My-Enumerable

Explore Ruby's module and class system with a custom implementation of the Enumerable module. This project consists of a MyList class with list management and a MyEnumerable module replicating key Enumerable methods. Test your implementation with practical use cases, including #all?, #any?, and #filter methods.

Primary LanguageRubyMIT LicenseMIT

📗 Table of Contents

📖 My Enumerable

My Enumerable In this project, I use a module inside my class. For this I create a class MyList and a module MyEnumerable. My module MyEnumerable will implement a subset of the functionality of Enumerable.

🛠 Built With

Tech Stack

Ruby

Key Features

  • [Custom Enumerable Methods: This project offers custom #all?, #any?, and #filter methods through the MyEnumerable module, extending Ruby's core Enumerable functionality.]
  • [MyList Class: Introducing the MyList class for seamless iteration and manipulation of collections using the custom enumerable methods.]
  • [Robust Testing: Rigorous testing in the IRB environment ensures the accuracy and reliability of the custom methods, guaranteeing their adherence to project requirements.]

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

Install

Install this project with:

Usage

To run the project, execute the following command:

Run tests

To run tests, run the following command:

Deployment

You can deploy this project using:

(back to top)

👥 Authors

👤 Hafizullah Rasa

👤 Derek Akrasi Konadu

GitHub | @githubhandle Twitter: @twitterhandle LinkedIn: LinkedIn

(back to top)

🔭 Future Features

  • [map Method]
  • [reduce Method]
  • [sort Method]

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, star the project if you like it

(back to top)

🙏 Acknowledgments

I would like to thank my mentor and my cod partners for support

(back to top)

📝 License

This project is MIT licensed.

(back to top)