Skip to content

Instantly share code, notes, and snippets.

@sescobb27
Created June 9, 2015 20:00
Show Gist options
  • Save sescobb27/c4b526f2305972579200 to your computer and use it in GitHub Desktop.
Save sescobb27/c4b526f2305972579200 to your computer and use it in GitHub Desktop.
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