From: Mathieu Bouchard Date: 2001-07-08T02:53:02+09:00 Subject: [ruby-talk:17472] 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% b.rb > 537754070 > 537736400 > pigeon% Could you please tell us what causes the constant ZeroDivisionError to be reassignable like that? matju