<commit_before># Back to Ruby!

So you've done some preparation on Ruby, and have probably been wondering "Why did we have to do all those exercises before Phase 0 if we weren't even going to start with Ruby?" Well, now is your time to get back to it while using the blog and skills you learned in weeks 1 and 2. 

This week you will be working on creating some command-line programs. Some challenges will also have tests already developed using RSpec (a tool for testing ruby code). You will learn how to run these tests on your computer and read them to figure out what the errors are. NOTE: You are not expected to write RSpec in Phase 0, just read it. RSpec is designed to be readable. 

[Install RSpec](http://code.tutsplus.com/tutorials/ruby-for-newbies-testing-with-rspec--net-21297) before you begin. If you have trouble, ask for help on the google+ community.


## Challenges
1. [Calculate an Array's total](1_add_it_up.md)
2. [Calculate the Letter Grade](2_calculate_letter_grade.md)
3. [Group Challenge: Research Methods](group_challenge_research_methods.md)
4. [SOLO Challenge: Calculate the Median - SC](4_calculate_median_solo_challenge.md)
5. [Pad an Array](5_pad_array.md)
6. [Review and Refactor: Pad an Array](6_rr_pad_array.md)
7. [Technical Blog](7_technical_blog.md)
8. [Cultural Blog](8_cultural_blog.md)
9. [GPS 1.2](9_gps1.2.md)
9. [BONUS: Calculate the Mode](10_BONUS_mode.md)


## Submitting your work
Instead of using gists this week, you will be storing your work in a repository. 
- Fork [**this repository**](https://github.com/Devbootcamp/p0_unit1_submission). (Make sure to click on the link first!) Then click "Fork" at the top right of the page. 
- Under settings (in the right navigation bar) check the box next to "issues" under "features." This will allow people
  to give you feedback.
- Open your GitHub desktop app. Find the `p0_unit1_submission` repository and click "clone to computer." 

When you make updates to the files, you should commit your work the same way you did for your website through the app. Include a commit message like "submitting solution for 1_add_it_up."

You need to submit your work through [this google form]() by Sunday at 11:59pm. Expect to submit the links from your repo for each challenge above. 


## Resources
*These are for reference if you want some additional sources.* 
- [Writing Driver Test Code](https://gist.github.com/dbc-challenges/5aea3150ddec2aec1007)
- [Introduction to Refactoring](http://sourcemaking.com/refactoring/introduction-to-refactoring)   
- [Ruby for Newbies](http://net.tutsplus.com/sessions/ruby-for-newbies)  
- [Ruby Variable Scope](http://www.techotopia.com/index.php/Ruby_Variable_Scope) 
- [GangesLearning (Videos)](https://www.youtube.com/user/GangesLearning)
- [The Well-Grounded Rubyist (Book)](http://www.manning.com/black2/)  <commit_msg>modified submission instructions<commit_after># Back to Ruby!

So you've done some preparation on Ruby, and have probably been wondering "Why did we have to do all those exercises before Phase 0 if we weren't even going to start with Ruby?" Well, now is your time to get back to it while using the blog and skills you learned in weeks 1 and 2. 

This week you will be working on creating some command-line programs. Some challenges will also have tests already developed using RSpec (a tool for testing ruby code). You will learn how to run these tests on your computer and read them to figure out what the errors are. NOTE: You are not expected to write RSpec in Phase 0, just read it. RSpec is designed to be readable. 

[Install RSpec](http://code.tutsplus.com/tutorials/ruby-for-newbies-testing-with-rspec--net-21297) before you begin. If you have trouble, ask for help on the google+ community.


## Challenges
1. [Calculate an Array's total](1_add_it_up.md)
2. [Calculate the Letter Grade](2_calculate_letter_grade.md)
3. [Group Challenge: Research Methods](group_challenge_research_methods.md)
4. [SOLO Challenge: Calculate the Median - SC](4_calculate_median_solo_challenge.md)
5. [Pad an Array](5_pad_array.md)
6. [Review and Refactor: Pad an Array](6_rr_pad_array.md)
7. [Technical Blog](7_technical_blog.md)
8. [Cultural Blog](8_cultural_blog.md)
9. [GPS 1.2](9_gps1.2.md)
9. [BONUS: Calculate the Mode](10_BONUS_mode.md)


## Submitting your work
Instead of using gists this week, you will be storing your work in a repository we've prepared for you. 
- Fork [**this repository**](https://github.com/Devbootcamp/p0_unit1_submission). (Make sure to click on the link first!) Then click "Fork" at the top right of the page. 
- Under settings (in the right navigation bar) check the box next to "issues" under "features." This will allow people
  to give you feedback.
- Open your GitHub desktop app. Find the `p0_unit1_submission` repository and click "clone to computer." 

When you make updates to the files, you should commit your work the same way you did for your website through the app. Include a commit message like "submitting solution for 1_add_it_up."

You need to submit your work through [this google form]() by Sunday at 11:59pm. Expect to submit the links from your repo for each challenge above. 


## Resources
*These are for reference if you want some additional sources.* 
- [Writing Driver Test Code](https://gist.github.com/dbc-challenges/5aea3150ddec2aec1007)
- [Introduction to Refactoring](http://sourcemaking.com/refactoring/introduction-to-refactoring)   
- [Ruby for Newbies](http://net.tutsplus.com/sessions/ruby-for-newbies)  
- [Ruby Variable Scope](http://www.techotopia.com/index.php/Ruby_Variable_Scope) 
- [GangesLearning (Videos)](https://www.youtube.com/user/GangesLearning)
- [The Well-Grounded Rubyist (Book)](http://www.manning.com/black2/)  
{'fraction_non_alphanumeric': 0.0897212543554007, 'fraction_numerical': 0.018466898954703832, 'mean_word_length': 4.590068159688413, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4963918', 'n_tokens_mistral': 1841, 'n_tokens_neox': 1681, 'n_words': 718}