๐ My Enumerable My Enumerable
My Enumerable In this project we learn how to use a module inside a class. For this we create a class my_list and a module my_enumerable. Our module my_enumerable implements a subset of the functionality of Enumerable.
Ruby
Backend
- By separating the class and module into separate files, the code follows a modular structure, enhancing readability, maintainability, and reusability.
- These key features collectively allow for the creation of a list object, iteration over its elements, and performing common operations like checking conditions and filtering elements.
To get a local copy up and running, follow these steps.
In order to run this project you need:
cd my-folder
git clone https://github.com/fpsapc/myEnumerable.git
This project does not require additional dependencies, just Ruby interpreter. However, it uses RuboCop as a linter and you should set it up as well.
bundle install
To run the project, navigate to the project directory and execute the following command:
ruby myEnumerable.rb
To run tests, run the following command:
Run the following command
rubocop
You can deploy this project using:
Not available at the moment.
๐ค Salman Ahmad Khan
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
๐ค Daniel Falcon
- GitHub: @Danfall369
- Twitter: @Danfall369
- Linkeid @Danfall369
- We will add more features later.
Contributions, issues, and feature requests are welcome!
This project is MIT licensed.