Ruby is “a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.” Ruby is used by NASA and Motorola to run simulations, by Google for its 3D modeling software Google SketchUp, for Internet security by the Metasploit Framework, and for countless web applications.

YWiC first incorporated Ruby into it’s high school summer camp curriculum in Summer 2014. High school students worked through a series of three lessons to learn the basics of programming in Ruby; they completed two small programs (GPA Calculator and Guessing Game) and then worked to try and solve the Million Monkey Theorem. High School students typically worked through the lessons with instructor guidance, and then completed their projects on their own or with a partner. Instruction time for Ruby was approximately 3 hours. For an additional challenge and/or if time permitted, students were encouraged to complete Ruby projects on the LearnStreet website.

Lesson Plans:

For Ruby files, click here.