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

https://github.com/nitbravoa92/enumerables

"Enumerables" is a command line program build in Ruby that seeks to show how you can make your own implementation of some methods of enumerable objects such as all?, any? and filter.
https://github.com/nitbravoa92/enumerables

ruby

Last synced: 10 days ago
JSON representation

"Enumerables" is a command line program build in Ruby that seeks to show how you can make your own implementation of some methods of enumerable objects such as all?, any? and filter.

Awesome Lists containing this project

README

          


Enumerables | Ruby Project


# πŸ“— Table of Contents

- [πŸ“— Table of Contents](#-table-of-contents)
- [Enumerables ](#enumerables-)
- [πŸ›  Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [πŸ’» Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [πŸ‘₯ Authors ](#-authors-)
- [πŸ”­ Future Features ](#-future-features-)
- [🀝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [πŸ™ Acknowledgments ](#-acknowledgments-)
- [πŸ“ License ](#-license-)

---

# Enumerables

**"Enumerables"** is a command line program build in Ruby that seeks to show how you can make your own implementation of some methods of enumerable objects such as all?, any? and filter.

---

## πŸ›  Built With

### Tech Stack

Ruby

---

### Key Features


  • Ruby

  • Linters

    • Rubocop



  • Follow Microverse's list of best practices

(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:


  • A code editor (we recommend Visual Studio Code)



  • Git and a GitHub account


### Setup

Clone this repository to your desired folder by using this πŸ‘‡οΈ command :

```
git clone https://github.com/NitBravoA92/enumerables.git
```

### Install

Go to the project directory:

```
cd enumerables
```

Before to run the program, verify that you have Ruby installed on your OS running the following command:

```
ruby -v
```

It should show you the version of ruby ​​installed. If this does not happen and only an error message is displayed, then you should either verify your installation or install Ruby from scratch.

[Download and Install Ruby](https://www.ruby-lang.org/en/downloads/)

### Usage

Run the following command inside the project folder:

```
ruby run_app.rb
```

This will display the following output:

```
true
false
true
false
[2, 4]
```

You can modify the code of the file `run_app.rb` if you want to test another type of list or if you want to modify the code blocks in the functions all?, any? and filter to test with other conditionals.

### Run tests

- Not aplicable.

(back to top)

---

## πŸ‘₯ Authors

πŸ‘€ **Nitcelis Bravo**

- GitHub: [Nitcelis Bravo](https://github.com/NitBravoA92)
- Twitter: [@softwareDevOne](https://twitter.com/softwareDevOne)
- LinkedIn: [Nitcelis Bravo Alcala](https://www.linkedin.com/in/nitcelis-bravo-alcala-b65340158)

(back to top)

---

## πŸ”­ Future Features

Upcoming improvements:

- [ ] Add implementation of other methods like `duplicates?` and `reduce`

(back to top)

---

## 🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/NitBravoA92/enumerables/issues).

(back to top)

---

## ⭐️ Show your support

If you like this project and know someone who might find it helpful, please share it.
Or give it a **star** ⭐️ if you like this project!

(back to top)

---

## πŸ™ Acknowledgments

I thank Microverse for this fantastic opportunity, and the code reviewers for their advice and time.

(back to top)

---

## πŸ“ License

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

(back to top)

---