Solidify your understanding of basic Ruby programming concepts
Be prepared for slightly more advanced material on Thursday
[100,10,-1000]
should return 100. Do not use Ruby's built-in .max
function.
[:toyota, :tesla]
["Prius", "Model S"]
they should return a hash like so:
{toyota: "Prius", tesla: "Model S"}
Hint: look up modulo
Recommended Activity Complete as much of the "Introduction to Ruby" track on Codecademy as you can. http://www.codecademy.com/courses/ruby-beginner-en-d1Ylq?curriculum_id=5059f8619189a5000201fbcb
Try the "Ruby in 20 minutes" primer: http://www.ruby-lang.org/en/documentation/quickstart/