Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahammad-mostafa/enumerable-methods
This is the fourth project in the fourth module of the Microverse program. It is an implementation of several method in the Enumerable module of Ruby.
https://github.com/mahammad-mostafa/enumerable-methods
enumerable-methods gitflow gitflow-workflow microverse microverse-projects microverse-ruby microverse-students rubocop ruby ruby-application ruby-module yield
Last synced: 29 days ago
JSON representation
This is the fourth project in the fourth module of the Microverse program. It is an implementation of several method in the Enumerable module of Ruby.
- Host: GitHub
- URL: https://github.com/mahammad-mostafa/enumerable-methods
- Owner: mahammad-mostafa
- License: mit
- Created: 2023-10-12T20:47:55.000Z (about 1 year ago)
- Default Branch: development
- Last Pushed: 2023-10-14T18:03:31.000Z (about 1 year ago)
- Last Synced: 2024-10-19T02:46:30.561Z (3 months ago)
- Topics: enumerable-methods, gitflow, gitflow-workflow, microverse, microverse-projects, microverse-ruby, microverse-students, rubocop, ruby, ruby-application, ruby-module, yield
- Language: Ruby
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🏷️ Enumerable Methods
This is the fourth project of the fourth module in the **Microverse** program.
Check the below contents for further details about this project.# 📗 Contents
- [Description](#description)
- [Instructions](#instructions)
- [Authors](#authors)
- [Future](#future)
- [Contributions](#contributions)
- [Support](#support)
- [Acknowledgements](#acknowledgements)
- [License](#license)# 📖 Description
This repository includes a class file `MyList` & a module file `MyEnumerable`.
📌 **Tech Stack:**
- Code built with `Ruby`📌 **Key Features:**
- Class `MyList` includes a module & contains two methods
- First method is to intialize the class with an array instance `list`
- Second method `each` implements looping through `list` instance
- Module `MyEnumerable` contains methods for several array operations
- First method `all` checks if all elements of `list` array meets a comparison
- Second method `any` checks if any element of `list` array meets a comparison
- Third method `filter` return a new array if any element of `list` array meets a condition
- Fourth method `min` returns the minimum value in `list` array
- Fifth method `max` returns the maximum value in `list` array# 🛠️ Instructions
You can easily download or fork this repository and work on it immadiately!
📌 **Prerequisites:**
- You need `Ruby` language installed📌 **Installation:**
- To install all gem dependencies run
```
bundle install
```📌 **Development:**
- Run project with
```
ruby list.rb
```# 👥 Authors
📌 **Mahammad:**
- [GitHub](https://github.com/mahammad-mostafa)
- [Twitter](https://twitter.com/mahammad_mostfa)
- [LinkedIn](https://linkedin.com/in/mahammad-mostafa)📌 **Carlos:**
- [GitHub](https://github.com/CarlosZ96)📌 **Austin:**
- [GitHub](https://github.com/stino-x)# 🔭 Future
Some additional features I may implement in the project:
- [ ] Implement Object oriented programming# 🤝🏻 Contributions
Wish to contribute to this project?
Contributions, issues, and feature requests are more than welcome!
Feel free to check the [issues](../../issues) page too.# ⭐️ Support
Like this project? Show your support by starring!
# 🙏🏻 Acknowledgements
I thank everyone at **Microverse** for guiding me through this project.
# 📝 License
This project is [MIT](LICENSE.md) licensed.