From: Sebastian Hungerecker Date: 2008-11-08T00:24:21+09:00 Subject: Re: array.equal? Nick Bhanji wrote: > Now my > conclusion is that no to trust methods function -- because it does not > do what it is supposed to do -- that is allow a programmer to know what > methods are supported. Wtf? [].methods lists equal? because equal? is defined by Object and is as such available to be called on all objects including arrays. It is not listed in the docs of Array because it is defined by Object, not Array, and is not redefined by Array either. You can perfectly well call equal? on an array and it will behave like the docs for Object#equal? say it will. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826