Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruthmy/create-your-own-enumerable
This Ruby project is intended to serve as practice for implementing classes and modules that emulate a small set of Enumerable functionality.
https://github.com/ruthmy/create-your-own-enumerable
Last synced: 26 days ago
JSON representation
This Ruby project is intended to serve as practice for implementing classes and modules that emulate a small set of Enumerable functionality.
- Host: GitHub
- URL: https://github.com/ruthmy/create-your-own-enumerable
- Owner: Ruthmy
- License: mit
- Created: 2023-08-24T22:38:22.000Z (about 1 year ago)
- Default Branch: dev
- Last Pushed: 2023-08-25T19:21:10.000Z (about 1 year ago)
- Last Synced: 2023-08-25T23:06:19.423Z (about 1 year ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Create your own Enumerable | Ruby Project
# π Table of Contents
- [π Table of Contents](#-table-of-contents)
- [Create your own Enumerable ](#create-your-own-enumerable-)
- [π Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [π Live Demo ](#-live-demo-)
- [π» Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [π₯ Authors ](#-authors-)
- [π Future Features ](#-future-features-)
- [π€ Contributing ](#-contributing-)
- [βοΈ Show your support ](#οΈ-show-your-support-)
- [π Acknowledgments ](#-acknowledgments-)
- [π License ](#-license-)---
**"Create your own Enumerable"** is Ruby project is intended to serve as practice for implementing classes and modules that emulate a small set of Enumerable functionality.. This project is part of the Microverse curriculum.
---
Ruby
---
- Ruby
- Linters
- Rubocop
- Follow Microverse's list of best practices
---
- Unfortunately, there is no live demo available for this project at the moment.
---
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/Ruthmy/create-your-own-enumerable.git
```
### Install
Go to the project directory:
```
cd create-your-own-enumerable
```
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 my_list.rb
```
This will display the following output:
```
true
false
true
false
[2, 4]
```
This is just a test code. If you want to test other lists, you must open the `my_list.rb` file using the code editor of your choice and change the argument in the `MyList.new()` object creation:
```
list = MyList.new(add-here-your-own-elements)
```
### Run tests
- Not aplicable.
### Deployment
- Not aplicable.
---
π€ **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)
π€ **Ruth Abreu**
- GitHub: [@Ruthmy](https://github.com/Ruthmy)
- Twitter: [@rury_exe](https://twitter.com/rury_exe)
- LinkedIn: [LinkedIn](https://linkedin.com/in/ruth-abreu)
---
Upcoming improvements:
- [] Improve more functionalities from the Enumerable module.
---
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Ruthmy/create-your-own-enumerable/issues).
---
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!
---
I thank Microverse for this fantastic opportunity, and the code reviewers for their advice and time.
---
This project is [MIT](./LICENSE) licensed.
---