San Francisco

Teacher

December 10, 2013

Intro to Ruby using Shoes

Holiday cheerful intro to ruby with https://github.com/rails-school/ruby-lights

hope you had a restful holiday, and that you're able to stay out of the ice and cold. For this Tuesday's class, we'll be diving into ruby (sans rails this time), going over the basics, and having some fun with libraries.

The only requirement is to bring a computer that can run an interactive ruby session (irb). If you have the virtualbox from last time, this will work great.

We'll be using ruby-lights to motivate the basic concepts of ruby (statements, expressions, variables, functions, blocks) while having some fun using the graphical environment provided by Shoes.

Grab the ruby-lights project (or better yet, fork it on github, and use git clone so you can pull+push to your own repository), and then if you're on osx or linux you can do

    bash$ bundle install
    bash$ ruby ./lights.rb

If that doesn't work, or you're on windows, or you're impatient, you can open lights.rb inside the downloaded Shoes app, just be sure to comment or delete the first line of the file that requires (Green Shoes)[https://github.com/ashbb/green_shoes].



3:30pm Pacific - 5:30pm Pacific on December 10, 2013 at HackCville
0 students were there

Whiteboard

Please, sign in to see the Whiteboard