[前][次][番号順一覧][スレッド一覧]

ruby-changes:32467

From: marcandre <ko1@a...>
Date: Fri, 10 Jan 2014 02:34:30 +0900 (JST)
Subject: [ruby-changes:32467] marcandRe: r44546 (trunk): * gc.c: Fix and remove outdated rdoc for object_id

marcandre	2014-01-10 02:34:27 +0900 (Fri, 10 Jan 2014)

  New Revision: 44546

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44546

  Log:
    * gc.c: Fix and remove outdated rdoc for object_id

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 44545)
+++ gc.c	(revision 44546)
@@ -2337,13 +2337,8 @@ id2ref(VALUE obj, VALUE objid) https://github.com/ruby/ruby/blob/trunk/gc.c#L2337
  *
  *  Returns an integer identifier for +obj+.
  *
- *  The same number will be returned on all calls to +id+ for a given object,
+ *  The same number will be returned on all calls to +object_id+ for a given object,
  *  and no two active objects will share an id.
- *
- *  Object#object_id is a different concept from the +:name+ notation, which
- *  returns the symbol id of +name+.
- *
- *  Replaces the deprecated Object#id.
  */
 
 /*

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]