A ruby a day!

Ruby-Course Sommercampus 2004/2005

This course was given at the sommercampus 2005 of the university of freiburg. It was a 4 * 4 hours course, of which the slides cover approximately 3 * 4 + 1 hours. In 2004 I used the ants game for the fourth day, in 2005 I used ruby-quizzes.

The slides are published under the GFDL. Feel free to use the slides under these conditions, but I'd like if you'd drop me a note such that I see if they have been useful.

Slides

The slides are available here:

Source

The source for the slides is here. This includes all sources that can be seen in the slides.

Additional

Look at my emacs configuration for information on how to set up your emacs. (Note I switched to vim because of rsi, and I'm very satisfied with it. I will put up my configuration sometimes).

Revision

The slides last modification date is Fri Apr 07 13:15:30 +0200 2006.

Thanks

The ruby on the cover slide is made by James EG II.

See http://www.grayproductions.net/Ruby/

Jamis Buck, James EG II, Tim Heaney, Curt Hibbs, and maybe some who I forgot contributed corrections to the slide.

After all this slides would not have been possible without the interesting ruby discussion on the ruby-talk mailing list.

Creation process

I use latex and the beamer class for layout. I created my own beamer style including the nifty "progress bar" effect with the little gem in the footer.

The code is highlighted using xemacs and htmlize. Then converting the html to highlighted latex code. The latex code is included using the listings package. (This part is a bit hackish, but it works.)

Creation of source code and splitting of example code is done automatically. The neccessary steps are encoded in some simple Makefiles.

You should be able to recreate the slides by unpacking the source.tar.bz2 and running

$ make

Dependencies are: Latex distribution, Beamer Class, Rubber, xemacs, htmlize, and probably some more I forgot to mention.