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

https://github.com/omarmwarraich/enumerable

A Ruby module that contains a set of methods that are used to iterate through Arrays and Hashes.
https://github.com/omarmwarraich/enumerable

gemfile linters rubocop ruby

Last synced: over 1 year ago
JSON representation

A Ruby module that contains a set of methods that are used to iterate through Arrays and Hashes.

Awesome Lists containing this project

README

          

logo

Enumerable

# 📖 Enumerable

Enumerable is a Ruby module that contains a set of methods that are used to iterate through Arrays and Hashes.

## 🛠 Built With

### Tech Stack

ruby

rubocop

Gemfile

### Key Features

- class MyList containing an instance variable @list.
- In MyList implement a method #each that yields successive members of @list and uses the MyEnumerable module.
- module MyEnumerable that implements the following methods:
- #all?
- #any?
- #filter

(back to top)

## 🚀 Coming Soon

(back to top)

## 💻 Getting Started

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

### Prerequisites

In order to run this project you need:

```sh
sudo apt install rubocop
```

### Setup

Clone this repository to your desired folder:

```sh
cd
git clone git@github.com:OmarMWarraich/enumerable.git
```

### Install

Install this project with:

```sh
cd enumerable
gem install
```

### Usage

To run the project, execute the following command:

```sh
ruby main.rb
```

### Run tests

To run tests, run the following command:

```sh
rubocop
```

### Deployment

Coming Soon

(back to top)

## 👥 Authors

👤 **OmarMWarraich**

- GitHub: [@OmarMWarraich](https://github.com/OmarMWarraich)
- Twitter: [@omarwarraich1](https://twitter.com/@omarwarraich1)
- LinkedIn: [LinkedIn](https://linkedin.com/in/o-va)

(back to top)

## 🔭 Future Features

Coming Soon

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

(back to top)

## ⭐️ Show your support

> Write a message to encourage readers to support your project

If you like this project please give it a ⭐️!

(back to top)

## 🙏 Acknowledgments

I would like to thank Microverse for giving me the opportunity to learn and grow as a developer.

(back to top)

## ❓ FAQ

> Add at least 2 questions new developers would ask when they decide to use your project.

- **[Question_1]**

- [Answer_1]

- **[Question_2]**

- [Answer_2]

(back to top)

## 📝 License

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

(back to top)