Skip to content

Instantly share code, notes, and snippets.

@stungeye
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save stungeye/3ebb6d9fb28c79acff7b to your computer and use it in GitHub Desktop.

Select an option

Save stungeye/3ebb6d9fb28c79acff7b to your computer and use it in GitHub Desktop.
POODR Notes
  • Hide Instance Variables. Wrap instance variables with simple getter methods using attr_reader. This turns data into behaviour. Consider making these getters private.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment