Last active
August 29, 2015 14:01
-
-
Save mbj/462f3ad67c6664ecd708 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 Other | |
end | |
module Foo | |
module Other | |
end | |
module Bar | |
def x | |
Other # Looked up to Foo::Other | |
end | |
end | |
end | |
module Foo::Bar | |
def x | |
Other # Looked up to ::Other | |
end | |
end |
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 Foo | |
module Bar | |
def x | |
mutated | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment