Last active
January 3, 2016 18:39
-
-
Save chaboo/8503224 to your computer and use it in GitHub Desktop.
Learning Ruby
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
include: adds methods from the provided Module to the object | |
extend: calls include on the singleton class of the object | |
- http://ficate.com/blog/2012/01/17/explaining-include-and-extend/ | |
- http://confreaks.com/videos/825-mwrc2008-ruby-internals | |
- http://stackoverflow.com/questions/156362/what-is-the-difference-between-include-and-extend-in-ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment