> >>>>> "A" == Aleksei Guzev <aleksei.guzev / bigfoot.com> 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