Created
February 27, 2016 06:12
-
-
Save osyo-manga/7c0dfd6bbecaffb3f6a8 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
| module M | |
| class A | |
| def mami | |
| p "mami" | |
| end | |
| end | |
| end | |
| class X | |
| end | |
| module Ex | |
| refine X do | |
| include M | |
| end | |
| end | |
| using Ex | |
| X::A | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment