/Intro-To-Ruby-Quiz

Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. This quiz will cover its basic syntax and some basic programs.

Primary LanguageRuby

Ruby Exercises

This is a collection of exercises to practice various concepts of Ruby.

About this repository

This repository is a complement to the Ruby course. in this repository is a set of related exercises. Open up the files(.rb) and read the comments to learn more about them.

Author

Lorenah M.

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 https://github.com/Skylar-Lorena/Intro-To-Ruby-Quiz

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

CD into that folder:

cd ruby-quiz

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 comments with instructions for the exercises.