Last active
December 20, 2016 02:07
-
-
Save thiagoa/3539435b9ff45595830ff0310c9267ba to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Instances of Project respond to every method of Imageable! | |
class Project | |
include Imageable | |
end | |
# Provides the same collection of methods as Imageable | |
module SuperImageable | |
include Imageable | |
end | |
# Instances of Task respond to every method of SuperImageable, | |
# which in turn responds to every method of Imageable! | |
class Task | |
include SuperImageable | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment