Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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

back to top

# 🛠️ 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
```

back to top

# 👥 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)

back to top

# 🔭 Future

Some additional features I may implement in the project:
- [ ] Implement Object oriented programming

back to top

# 🤝🏻 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.

back to top

# ⭐️ Support

Like this project? Show your support by starring!

back to top

# 🙏🏻 Acknowledgements

I thank everyone at **Microverse** for guiding me through this project.

back to top

# 📝 License

This project is [MIT](LICENSE.md) licensed.

back to top