Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement