Skip to content

Instantly share code, notes, and snippets.

@nogweii
Created March 13, 2009 11:06
Show Gist options
  • Select an option

  • Save nogweii/78529 to your computer and use it in GitHub Desktop.

Select an option

Save nogweii/78529 to your computer and use it in GitHub Desktop.
>> class Foo; class Bar; end; end
=> nil
>> Foo.superclass
=> Object
>> Foo::Bar.superclass
=> Object
>> Bar.superclass
NameError: uninitialized constant Bar
from (irb):8
from :0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment