Created
November 8, 2011 00:57
-
-
Save blasterpal/1346708 to your computer and use it in GitHub Desktop.
My Mixin fun
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
class Content | |
#has all your junk | |
end | |
module ContentFooBar | |
def foobar | |
puts 'hello!' | |
end | |
end | |
class Content | |
include ContentAllChildrenMethods | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment