/Ruby-Enumerable

Primary LanguageRubyMIT LicenseMIT

📗 Table of Contents

💎 Ruby Enumerable

This project implements a custom Enumerable module which has the same functionalities as Ruby's built-in Enumerables. It includes commonly used methods like #any?, #all? and #filter.

🛠 Built With

Tech Stack

  • Ruby

Key Features

  • #any? - Return true if block returns at least one truthy value
  • #all? - Return true if block returns true for all items
  • #filter - Return a new array of items for which block returns true

(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 Ruby installed on your machine.

Setup

Clone this repository to your desired folder:

  cd my-project
  git clone git@github.com:Abe1able/Ruby-Enumerable.git .

Installation

Install this project with:

  gem install

Usage

To run the program, execute the following command:

  ruby my_list.rb

(back to top)

👥 Authors

👨‍🚀 Abel Seifu

👨‍🚀 Hein Thant

(back to top)

🔭 Future Features

  • Add more methods

(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 consider giving it a ⭐.

(back to top)

🙏 Acknowledgments

I would like to thank all code reviewers for making this project better.

(back to top)

📜 License

This project is MIT licensed.

(back to top)