Subject: [ruby-talk:7432] Re: Different id's for the Object meta clas s?
From: ts <decoux moulon.inra.fr>
Date: Sat, 16 Dec 2000 23:35:15 +0900
References:
In-reply-to: message from =?iso-8859-1?Q?Aleksi_Niemel=E4?= on Sat, 16 Dec 2000 06:31:01 +0900
>>>>> "A" == =?iso-8859-1?Q?Aleksi Niemel=E4?= <iso-8859-1> writes:
A> rb_to_id(name)
Not really. rb_to_id() work only with a symbol, if you try
rb_to_id(rb_cObject) it will give you an error message.
Object#id is rb_obj_id()
Guy Decoux