Created
April 27, 2015 08:42
-
-
Save SriMaddy/05b728801e9a7870b5cb to your computer and use it in GitHub Desktop.
Practical OOD in Ruby : Addison - Wesley
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Classical inheritance : | |
Message delegation to another object if one object is not respond to message. | |
-> find abstraction and create abstract class. | |
-> Unresponsed messages are automatically delegated(forwarded) to its super class and so on. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment