Summary
In this chapter, you've learned how to handle change in your libraries. You've learned reasons to refactor your library, and how to handle the refactoring process. You've learned about implementing the two most common Ruby refactoring techniques, extracting a method and extracting a class. You've learned how important it is to refactor before adding features requiring refactoring. You've also learned about how to properly remove features from your libraries, and the joy of doing so. With all you've learned about refactoring, you are hopefully better able to successfully make appropriate changes to your libraries.
In the next chapter, you'll learn about using common design patterns in your Ruby libraries.