Created
July 14, 2010 15:35
-
-
Save bakkdoor/475581 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
# Mixins in Fancy: | |
def class AClass { | |
self include: AnotherClass; # mixes in AnotherClass defined somewhere else | |
# alternatively you could also write: | |
AClass include: AnotherClass | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment