Skip to content

Instantly share code, notes, and snippets.

@mdub
Created March 20, 2012 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdub/2129095 to your computer and use it in GitHub Desktop.
Save mdub/2129095 to your computer and use it in GitHub Desktop.
toplevel constant Bar referenced by Foo::Bar
>> 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