--------------030900010108050806080908
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Lobosque,

     Please use the method eql? for this purpose. If you use eql? you'll 
get true and if you use equal? you'll get false,  under the case you 
mentioned.

Shiwei
(The views expressed are my own and not necessarily those of Oracle and 
its affiliates.)   

Lobosque Lucas wrote:

>Is there a way to compare two objects without take its ID in
>consideration? For example:
>
>#<Game_Esper:0xdcc7e0 @str` @mdfel  , @name  Ifrit"> >#<Game_Esper:0xeda51e @str` @mdfel  , @name  Ifrit">
>
>It'll return false, because the object ID is different. But i want it to
>return true, because the arguments (is it the right name?) are all
>equal.
>
>Thanks
>
>  
>

--------------030900010108050806080908--