Created
June 9, 2015 20:00
-
-
Save sescobb27/c4b526f2305972579200 to your computer and use it in GitHub Desktop.
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
module A | |
def a1 | |
end | |
def a2 | |
end | |
end | |
module B | |
def b1 | |
end | |
def b2 | |
end | |
end | |
class Sample | |
include A | |
include B | |
def s1 | |
end | |
end | |
samp=Sample.new | |
samp.a1 | |
samp.a2 | |
samp.b1 | |
samp.b2 | |
samp.s1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment