Created
March 13, 2015 22:27
-
-
Save zachpendleton/50c3548ec882a2662b22 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 Foo | |
class Bar | |
def speak; "Hello, world!"; end | |
end | |
end | |
module Foo | |
class Baz | |
# this works | |
def speak; Bar.new.speak; end | |
end | |
end | |
class Foo::Qux | |
# this doesn't | |
def speak; Bar.new.speak; end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment