Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/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>
Add Comment
Please, Sign In to add comment