Skip to content

A Ruby program that implements custom versions of the `all?`, `any?`, and `filter` methods, mimicking the functionality of the Enumerable module. This program demonstrates how to create and use these essential Enumerable methods from scratch.

License

Notifications You must be signed in to change notification settings

pinkmoon25/ruby-enumerable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enumerable in Ruby 🌟

A Ruby program that implements custom versions of the all?, any?, and filter methods, mimicking the functionality of the Enumerable module. This program demonstrates how to create and use these essential Enumerable methods from scratch.

Features:

  • Custom all? Method: Check if all elements in a collection meet a specified condition.
  • Custom any? Method: Determine if any elements in a collection meet a specified condition.
  • Custom filter Method: Select elements from a collection that meet a specified condition.

Built With:

  • Ruby

Prerequisites

have a working git on your local machine.

Setup

🛠 Installation & Set Up

To get a working local copy up and running follow these simple steps

  • open terminal
  • clone this project with the command:
git clone https://github.com/PinkMoon25/ruby-enumerable.git

Usage

For anyone that whats to learn ruby

Authors

👤 Tushar Singh

👤 Ernest Anyewe Adonu

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

About

A Ruby program that implements custom versions of the `all?`, `any?`, and `filter` methods, mimicking the functionality of the Enumerable module. This program demonstrates how to create and use these essential Enumerable methods from scratch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages