chapter 3 of ruby