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

ruby-changes:17514

From: nobu <ko1@a...>
Date: Sun, 17 Oct 2010 10:47:21 +0900 (JST)
Subject: [ruby-changes:17514] Ruby:r29519 (trunk): * variable.c (rb_mod_remove_const): update rdoc.

nobu	2010-10-17 10:47:15 +0900 (Sun, 17 Oct 2010)

  New Revision: 29519

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

  Log:
    * variable.c (rb_mod_remove_const): update rdoc.
      [ruby-core:31957]

  Modified files:
    trunk/ChangeLog
    trunk/variable.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29518)
+++ ChangeLog	(revision 29519)
@@ -1,3 +1,8 @@
+Sun Oct 17 10:47:12 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* variable.c (rb_mod_remove_const): update rdoc.
+	  [ruby-core:31957]
+
 Sun Oct 17 10:40:17 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* class.c (rb_define_{class,module}_id_under): register to be
Index: variable.c
===================================================================
--- variable.c	(revision 29518)
+++ variable.c	(revision 29519)
@@ -1628,8 +1628,10 @@
  *     remove_const(sym)   -> obj
  *
  *  Removes the definition of the given constant, returning that
- *  constant's value. Predefined classes and singleton objects (such as
- *  <i>true</i>) cannot be removed.
+ *  constant's value.  Although predefined classes/modules also can be
+ *  removed, they just can't be refered with the names but still
+ *  exist.  It could cause very severe confusion.
+ *  Feel Free to Shoot Your Own Foot.
  */
 
 VALUE

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

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