-
Book Overview & Buying
-
Table Of Contents
Polished Ruby Programming - Second Edition
By :
In the last chapter, you learned how to handle change in your libraries. A couple common changes are to implement new design patterns or to remove inappropriate design patterns. While design patterns are not as necessary in Ruby as they are in less powerful languages, they are still a useful tool to have in your toolbox. When dealing with design patterns, it is important to understand when it is useful to apply them, and when it is best to abstain.
In this chapter, we will cover the following topics:
By the end of this chapter, you'll better understand design patterns that are built into Ruby, and whether, why, and how to implement other common design patterns in your libraries and applications.
Change the font size
Change margin width
Change background colour