From: ts Date: 2001-07-05T19:38:11+09:00 Subject: [ruby-talk:17284] Re: Inheritance >>>>> "A" == Aleksei Guzev writes: A> But class ZeroDivisionError IS already defined by Ruby itself! Or I can A> add Parents to a class?????? I've said that it was not possible to reply, without knowing what you want to do :-( pigeon% cat b.rb #!/usr/bin/ruby class MyException < Exception ; end p ZeroDivisionError.id class ZeroDivisionError < MyException ; end p ZeroDivisionError.id pigeon% pigeon% b.rb 537754070 537736400 pigeon% Guy Decoux