Skip to content

rammazzoti2000/Advanced-Building-Blocks---Enumerables

Repository files navigation

Contributors Forks Stargazers Issues


Logo

Enumerables

This project is part of the Microverse curriculum in Ruby module!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Product Name Screen Shot

Own implementation of Ruby’s enumerable methods

This is the first project of the Microverse Ruby Module

This is also the Assignment_2 of the Odin project curriculum

Installation

To test the code you need to have ruby installed in your computer or execute it in a web console like this :

Built With

This project was built using these technologies.

  • Ruby
  • Rubocop
  • Rspec
  • Atom :atom:

Usage

If you want to use the code you need to have ruby installed in your computer and copy the main.rb file from this project in your project or open an irb console and import it like this

require_relative main.rb

You can now use my Enumerable methods like the ruby Enumerable methods:

  • my_each == each
  • my_each_with_index == each_with_index
  • my_select == select
  • my_count == count
  • my_all == all
  • my_any == any
  • my_none == none
  • my_map == map
  • my_inject == inject

Live version

You can see it working here

Automated Test

To run the test clone or download the project, open a terminal in the project directory and run the following:

rspec spec/test_enumerables

Contributors

👤 Alexandru Bangau

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

Acknowledgements

📝 License

This project is MIT licensed.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages