Progress Checkpoint

Learn to Program, Third Edition — by Chris Pine (72 / 116)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 The Care and Feeding of Your Baby Dragon | TOC | Chapter 12 Remote Data and APIs 👉

In this chapter, you learned how to extend built-in classes with additional methods (like adding another string method or integer method), and how to change existing methods (by simply defining a method of the same name as the one you want to change). You then learned how to make your own classes, complete with instance variables and an initialize method. Finally, you learned how to hide some methods from the rest of your code by making them private.

Now that you’ve had a chance to practice by creating some classes of your own, you know even more Ruby. In the next chapter, you’ll turn your gaze outward, and learn how to use Ruby (and JSON) to talk to other programs over the Internet.

Copyright © 2021, The Pragmatic Bookshelf.

👈 The Care and Feeding of Your Baby Dragon | TOC | Chapter 12 Remote Data and APIs 👉

Learn to Program, Third Edition by Chris Pine can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.