amita-roy / Enumerable_Methods

In this project, We have implemented our own version of Ruby’s enumerable methods.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enumerable_Methods

In this project, We have implemented our own version of Ruby’s enumerable methods.

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

screenshot screenshot

Built With

  • Ruby
  • VS Code
  • Mac OS
  • Windows
  • Rubocop linter was used to check for style errors

Getting Started

To get your own copy of our project simply clone the repository to your local machine.

Step 1: Type the following command into a git shell

git clone https://github.com/Amita-Roy/Enumerable_Methods.git

Step 2: Direct a terminal into the cloned repository directory

cd Enumerable_Methods

Step 3: Run the program from command line, open it in irb, or edit it in a text editor

To Test

Step 1:

After cloning the repository, open the terminal and Install RSpec on your local system by running:

gem install rspec

Step 2:

Run the tests with the command:

rspec

Test gif

test_play

Authors

👤 Oyeleke Ayomide

👤 Amita Roy

🤝 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 licensed by Microverse and the Odin Project

About

In this project, We have implemented our own version of Ruby’s enumerable methods.


Languages

Language:Ruby 100.0%