Chapter 2 of the "Learning Ruby" guide.