Skip to content

This project aims to rebuild some of Ruby's inbuilt enumerable methods to strengthen the authors' grasp of the language.

Notifications You must be signed in to change notification settings

joshuaivie/mv-rb_Enumerable-Methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enumerable Methods

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

Built With

  • Ruby

Live Demo

You can check out the live demo here

Getting Started

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

Prerequisites

  1. Code Editor
  2. Terminal (Bash)
  3. Git
  4. Ruby

Setup

  • 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/

Usage

  • Ensure you're in the directory in which you've set up the project
  • Run the following command
ruby enumerable.rb

Testing

This project uses the ruby spec gem for testing.

  1. To test this game install RSpec by booting up your terminal and typing in `gem install rspec`.
  2. `cd` into mv-rb_Enumerable-Methods project directory
  3. Type `rspec`
gem install rspec &&  cd mv-rb_Enumerable-Methods && rspec

Author

👤 Joshua Ivie

🤝 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 MIT licensed.

About

This project aims to rebuild some of Ruby's inbuilt enumerable methods to strengthen the authors' grasp of the language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages