Skip to content

BMWeygant/Ruby-Array-Methods-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Array Methods Lab

This guide assumes you have Ruby installed on your machine, a text editor, and a Github account already in place.

In this lab you will write several methods to familiarize yourself with some common Array methods as mentioned in theRuby Arrays lesson.

Your goal is to define all the methods defined in the test cases. Read the array_methods_rspec.rb file carefully to get as much information as you can about these methods.

Since there are many tests in this lab, I suggest using the --f-f flag (fail fast) when using rspec to only show to first failed test. rspec --f-f

Installation

To get started, fork this lab to your GitHub account, copy the repo url, then in your terminal enter:

git clone {repo url}

This will create a repository in your github and download your repo to your local machine so you can start working on it. When you solved all test cases follow thes steps:

git add .

This will add all files in your current directory to be committed to Github.

git commit -m "Done."

This will commit the changes you made and ready them to be pushed to Github. The `-m "Done."' part will add a message expalaining your commit.

git push

This will push your changes to the associated Github repo.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages