This technique becomes necessary when a class contains embedded references to a message that is likely to change. Isolating the reference provides some insurance against being affected by that change.
- Chapter 3. Managing Dependencies
- from Practical Object-Oriented Design in Ruby: An Agile Primer
- Publisher: Addison-Wesley Professional
- Released: September 2012
Share this highlighthttp://www.safaribooksonline.com/a/practical-object-oriented-design/70866/