The aim of this assessment is to test your knowledge of materials covered in the prework:
- methods
- string manipulation
- if/else expressions
- inserting an element to an array
- On Github, click the Fork button in the upper right hand corner
- From your bash terminal, clone your newly created Github repo by typing
git clone [email protected]:YOUR-USERNAME/wdi_1_ruby_assessment_prework.git
- Change into the
wdi_1_ruby_assessment_prework
by typingcd wdi_1_ruby_assessment_prework
- Run
bundle install
to ensure you have all needed ruby gems on your system.
Using Sublime, edit the lib/assessment.rb
file, and follow the instructions in the comments in the code.
You may run ruby lib/assessment.rb
to make sure the syntax parses properly along the way. You may also run rspec spec
to see which items you've currently got right, and which ones need improvement.
Once completed:
- Stage changed files by typing
git add lib/assessment.rb
- Create a Git commit by typing
git commit -m "Assessment complete"
- Push changes to Github by typing
git push origin master
- On Github, create a Pull Request by going to
https://github.com/YOUR-USERNAME/wdi_1_ruby_assessment_prework/pulls
and hit the green "New Pull Request" button - Hit the green "Create Pull Request" button now on the left side of the screen
- Now leave an additional comment and/or message, and hit the green "Create Pull Request" in the bottom right hand corner to finalize the PR.