Skip to content

Instantly share code, notes, and snippets.

@SriMaddy
Created April 27, 2015 08:42
Show Gist options
  • Save SriMaddy/05b728801e9a7870b5cb to your computer and use it in GitHub Desktop.
Save SriMaddy/05b728801e9a7870b5cb to your computer and use it in GitHub Desktop.
Practical OOD in Ruby : Addison - Wesley
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