Skip to content

Basic ruby exercises for practice for starters. Includes data types and functional scopes.

License

Notifications You must be signed in to change notification settings

uzairali19/ruby_exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Odin Project Ruby Exercises

About this repository

This repository is a complement to the Ruby course for The Odin Project. It contains a series of Ruby exercises alongside pre-written tests that will help guide the student towards a solution, providing a Test Driven Development experience.

Cloning and installation

Clone this repository to your local machine. To do this, click on the green "Code" button at the top right of list of files and copy the link in the prompt. Then, run the following command in your terminal:

git clone <link>

This will create a folder called 'ruby-exercises' inside the directory you ran the command in.

CD into that folder:

cd ruby-exercises

Then run the following command:

bundle install

This folder contains a Gemfile, which tells bundle which gems to install locally and makes them available for use in that directory. In this case, we are installing RSpec, which is a popular Ruby testing framework.

Verify that the installation was successful by simply running the following command:

bundle exec rspec

Which should print a few lines about not finding any examples. This is ok and means it's working!

Usage

Each directory contains a read me with instructions for the exercises within them.

About

Basic ruby exercises for practice for starters. Includes data types and functional scopes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages