Ruby is a wonderful programming language that was designed for programmer productivity. It comes feature-packed with numerous inbuilt classes and methods to make programming enjoyable for developers.
One of ruby's inbuilt modules is the Enumerable module. This module comes with several traversal and searching methods and with the ability to sort.
Although, the inbuilt Enumerable methods make life really easy, this project aims to rebuild some of those inbuilt methods to strengthen the authors' grasp of ruby's fundamental
- Ruby
You can check out the live demo here
To get a local copy up and running, follow these simple example steps.
- Install the prerequisites on your local machine
- Clone the repository to your local machine as described in the setup section
- run the enumerable.rb file using ruby in your terminal as described in the usage section
- Code Editor
- Terminal (Bash)
- Git
- Ruby
- Open your terminal and navigate to location in which you would like to setup the project.
- Run the following command in your terminal
git clone https://github.com/joshuaivie/mv-rb_Enumerable-Methods/
- Ensure you're in the directory in which you've set up the project
- Run the following command
ruby enumerable.rb
This project uses the ruby spec gem for testing.
- To test this game install RSpec by booting up your terminal and typing in `gem install rspec`.
- `cd` into mv-rb_Enumerable-Methods project directory
- Type `rspec`
gem install rspec && cd mv-rb_Enumerable-Methods && rspec
👤 Joshua Ivie
- GitHub: @joshuaivie
- Twitter: @joshuaivie_
- LinkedIn: joshuaivie
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.