Hi,

OK, I like this patch.  Please check in.

							matz.

In message "Re: [ruby-core:42017] Re: [ruby-trunk - Bug #5865] Exception#== should return false if the classes differ"
    on Tue, 10 Jan 2012 11:34:25 +0900, Nobuyoshi Nakada <nobu / ruby-lang.org> writes:
|
|Hi,
|
|(12/01/09 22:02), Nikolai Weibull wrote:
|> The fix should be to also check the #class of obj against the #class
|> of exc, not to simply ignore it if the rb_obj_class()es don”Ēt match.
|> I”Ēve attached a patch.
|
|Fixnum#== works fine with Delegator because of implicit conversion, so
|I think Exception should also use same way.