Skip to content

This is a project to test our understanding of the ruby language by doing our own versions of some enumerable methods from the Array class. The methods passed all the tests for the same inputs as the original ones take. This is part of the Microverse technical curriculum for the Ruby module.

Notifications You must be signed in to change notification settings

mateomh/ruby-enumerable-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microverse Ruby Project #2 -> Enumerable methods using ruby

RUBY - Enumerable methods

In this project we created an Enumerable module, that has several custom enumerable methods:

At the same time we added #muptiply_els which multiplies all the elements of the array together by using #my_inject .

Built With

  • Ruby,
  • Rubocop

Live Demo

Live Demo Link

Getting Started

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

Install

Besides the live demo link, you can run those functions in you own local environment. In order to run, you need to install RUBY in your computer. For windows you can go to Ruby installer and for MAC and LINUX you can go to Ruby official site for intructions on how to intall it. Then you can clone the project by typing git clone https://github.com/RaminMammadzada/ruby-enumerable-methods/tree/develop

Run tests

In the terminal you just have to put the following command: ruby tests.rb

Authors

👤 Ramin Mammadzada

👤 Mateo mojica

🤝 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!

Acknowledgments

  • Microverse
  • Odin project

📝 License

This project is MIT licensed.

About

This is a project to test our understanding of the ruby language by doing our own versions of some enumerable methods from the Array class. The methods passed all the tests for the same inputs as the original ones take. This is part of the Microverse technical curriculum for the Ruby module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages