Code samples from the definitive Ruby book, the pickaxe book.