Ruby Class chapter 3