https://github.com/carreraprogrammer/ruby_ennumerable
In this repository, I created an Enumerable mixin that provides collection classes with several traversal and searching methods, and with the ability to sort. The class must provide a method each, which yields successive members of the collection.
https://github.com/carreraprogrammer/ruby_ennumerable
Last synced: about 2 months ago
JSON representation
In this repository, I created an Enumerable mixin that provides collection classes with several traversal and searching methods, and with the ability to sort. The class must provide a method each, which yields successive members of the collection.
- Host: GitHub
- URL: https://github.com/carreraprogrammer/ruby_ennumerable
- Owner: carreraprogrammer
- Created: 2023-06-16T17:01:38.000Z (almost 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-06-16T22:59:43.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T20:51:51.886Z (4 months ago)
- Language: Ruby
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [📖 Paws and Claws Clinic ](#-paws-and-claws-clinic-)
- [🛠 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-)
- [❓ FAQ ](#-faq-)
- [📝 License ](#-license-)**[MY RUBY ENNUMERABLE]** in this repository, I created an Enumerable mixin that provides collection classes with several traversal and searching methods, and with the ability to sort.
Programing language
- **Methos**: MyEnumerable implements the following methods #all?#any? #filter (they should have the same funcionality as methods in Enumerable):
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
- Ruby installed on your machine. You can download it from the [official website](https://www.ruby-lang.org/es/downloads/).
### Setup
Clone this repository to your desired folder:
```sh
cd your-folder
git clone https://github.comc/carreraprogrammer/ruby_ennumerable.git
```
### Install
Navigate into your project directory
```sh
cd ./my_ennummerable.rb
```
### Usage
Use ruby to interact with the program
```sh
ruby my_ennumerable.rb
```
### Run tests
To run tests, run the following command (functionality will be added in the future):
```sh
rubocop
```
👤 **Daniel Carrera**
- GitHub: [@carreraprogrammer](https://github.com/carreraprogrammer )
- Twitter: [@carreraprog](https://twitter.com/carreraprog)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/daniel-carrera-85a917244/)
- [x] Create a class MyList that has an instance variable @list.
- [x] In MyList implement a method #each that yields successive members of @list and uses the MyEnumerable module.
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/carreraprogrammer/ruby_ennumerable/issues).
If you like this project please give a star.
I wants to thank to my academy and my coding partners that always push me to be my best version
This project is [MIT](./MIT.md) licensed.