Skip to content

Instantly share code, notes, and snippets.

@jackdempsey
Created September 10, 2008 06:42
Show Gist options
  • Save jackdempsey/9841 to your computer and use it in GitHub Desktop.
Save jackdempsey/9841 to your computer and use it in GitHub Desktop.
~/git/self-deprecated master$ irb
irb(main):001:0> class Foo; end
=> nil
irb(main):002:0> class A < Foo; end
=> nil
irb(main):003:0> class B; end
=> nil
irb(main):004:0> class A < B; end
TypeError: superclass mismatch for class A
from (irb):4
from :0
irb(main):005:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment