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

ruby-changes:22962

From: marcandre <ko1@a...>
Date: Wed, 14 Mar 2012 13:49:58 +0900 (JST)
Subject: [ruby-changes:22962] marcandRe: r35011 (ruby_1_9_3): merge revision(s) 35010:

marcandre	2012-03-14 13:49:46 +0900 (Wed, 14 Mar 2012)

  New Revision: 35011

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

  Log:
    merge revision(s) 35010:
    
            * variable.c: Simplify rdoc for remove_const [Bug #5354]

  Modified files:
    branches/ruby_1_9_3/variable.c

Index: ruby_1_9_3/variable.c
===================================================================
--- ruby_1_9_3/variable.c	(revision 35010)
+++ ruby_1_9_3/variable.c	(revision 35011)
@@ -1666,10 +1666,9 @@
  *     remove_const(sym)   -> obj
  *
  *  Removes the definition of the given constant, returning that
- *  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.
+ *  constant's previous value.  If that constant referred to
+ *  a module, this will not change that module's name and can lead
+ *  to confusion.
  */
 
 VALUE

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

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