Created
March 20, 2012 00:38
-
-
Save mdub/2129095 to your computer and use it in GitHub Desktop.
toplevel constant Bar referenced by Foo::Bar
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
>> class Foo; end | |
=> nil | |
>> module Bar; end | |
=> nil | |
>> Foo::Bar | |
(irb):3: warning: toplevel constant Bar referenced by Foo::Bar | |
=> Bar | |
>> Bar::Foo | |
NameError: uninitialized constant Bar::Foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment