public Method

Object.id

obj.id     fixnum

Soon-to-be deprecated version of Object#object_id.

Source Code

/*
*  call-seq:
*     obj.id    => fixnum
*  
*  Soon-to-be deprecated version of <code>Object#object_id</code>.
*/

VALUE
rb_obj_id_obsolete(obj)
   VALUE obj;
{
   rb_warn("Object#id will be deprecated; use Object#object_id");
   return rb_obj_id(obj);
}
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.