Skip to content

Leeoasis/enumerable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enumerable

In this project we will learn how to use a module inside class. For this we will create a class MyList and a module MyEnumerable. Our module MyEnumerable will implement a subset of the functionality of Enumerable.

📗 Table of Contents

📖 Enumerable

In this project we have implemented below three enumerable methods:

  • #all?
  • #any?
  • #filter

Create a class MyList that has an instance variable @list. In MyList implement a method #each that yields successive members of @list and uses the MyEnumerable module. Create a module MyEnumerable that implements the following methods (they should have the same funcionality as methods in Enumerable):

  • #all?
  • #any?
  • #filter Each class and module should has a separate .rb file.

🛠 Built With

Tech Stack

Language

Key Features

  • [Implement Enumerable]
  • [Add #all?]
  • [Add #any?]
  • [Add #filter]

(back to top)

🚀 Live Demo

  • ... 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:

  • a browser
  • Install Ruby on your commputer

Setup

Clone this repository to your desired folder:

  cd your-desired-folder
  git clone [email protected]:Leeoasis/enumerable.git

Install

Install this project with:

  • besides the previuous installations, no other installations are required

Run tests

To run tests, run the following command:

  • no tests are included in this project

Deployment

You can deploy this project using:

  • no deployment is required for this project

(back to top)

👥 Authors

👤 William Sserubiri

👤 Leslie Gudo

👤 BB Simon

(back to top)

🔭 Future Features

  • queries to query the database

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

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

(back to top)

🙏 Acknowledgments

I would like to thank, the Microverse program for giving us this opportunity to learn and build this project.

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages