example code for the book Learning Ruby arranged by chapter and runs by chapter.