Skip to content

This is the fourth project in the fourth module of the Microverse program. It is an implementation of several method in the Enumerable module of Ruby.

License

Notifications You must be signed in to change notification settings

mahammad-mostafa/enumerable-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏷️ Enumerable Methods

This is the fourth project of the fourth module in the Microverse program.
Check the below contents for further details about this project.

📗 Contents

📖 Description

This repository includes a class file MyList & a module file MyEnumerable.

📌 Tech Stack:

  • Code built with Ruby

📌 Key Features:

  • Class MyList includes a module & contains two methods
  • First method is to intialize the class with an array instance list
  • Second method each implements looping through list instance
  • Module MyEnumerable contains methods for several array operations
  • First method all checks if all elements of list array meets a comparison
  • Second method any checks if any element of list array meets a comparison
  • Third method filter return a new array if any element of list array meets a condition
  • Fourth method min returns the minimum value in list array
  • Fifth method max returns the maximum value in list array

back to top

🛠️ Instructions

You can easily download or fork this repository and work on it immadiately!

📌 Prerequisites:

  • You need Ruby language installed

📌 Installation:

  • To install all gem dependencies run
bundle install

📌 Development:

  • Run project with
ruby list.rb

back to top

👥 Authors

📌 Mahammad:

📌 Carlos:

📌 Austin:

back to top

🔭 Future

Some additional features I may implement in the project:

  • Implement Object oriented programming

back to top

🤝🏻 Contributions

Wish to contribute to this project?
Contributions, issues, and feature requests are more than welcome!
Feel free to check the issues page too.

back to top

⭐️ Support

Like this project? Show your support by starring!

back to top

🙏🏻 Acknowledgements

I thank everyone at Microverse for guiding me through this project.

back to top

📝 License

This project is MIT licensed.

back to top

About

This is the fourth project in the fourth module of the Microverse program. It is an implementation of several method in the Enumerable module of Ruby.

Topics

Resources

License

Stars

Watchers

Forks

Languages