Skip to content

Latest commit

 

History

History
71 lines (44 loc) · 1.85 KB

README.md

File metadata and controls

71 lines (44 loc) · 1.85 KB

Advanced Building Blocks - Enumerables

The project is based on reproducing the enumerable methods to their usable states. The functions would have the prefix #my_ attached to them, eg: the #each function would be #my_each.

Functions to test :

  • #my_each
  • #my_each_with_index
  • #my_select
  • #my_all?
  • #my_any?
  • #my_none?
  • #my_count
  • #my_map
  • #my_inject

Technologies Used

  • Ruby

Authors

👤 Uzair

Getting Started

To get a local copy of this project follow the steps below:

Setup Local

Use git clone https://github.com/uzairali19/enumerable_blocks.git to clone the branch directly to your machine

Setting up linter

  1. Run bundle install.
  2. Run rubocop.
  3. Fix linter errors.
  4. IMPORTANT NOTE: feel free to research auto-correct options for Rubocop if you get a flood of errors but keep in mind that correcting style errors manually will help you to make a habit of writing a clean code!
  • Navigate the project, you can open it with VScode or any other code editor of choice
  • run the code by opening up your terminal and typing ruby enumerable.rb
  • Happy coding!

Using Rspec to test

  1. Run bundle install.
  2. Run Rake.
  3. See the spec log on the console to check the results.

Example

Display

🤝 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 copyright protected, Feel free to contact the authors to collaborate.