ruby-changes:22961
From: marcandre <ko1@a...>
Date: Wed, 14 Mar 2012 13:48:10 +0900 (JST)
Subject: [ruby-changes:22961] marcandRe: r35010 (trunk): * variable.c: Simplify rdoc for remove_const [Bug #5354]
marcandre 2012-03-14 13:48:02 +0900 (Wed, 14 Mar 2012) New Revision: 35010 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35010 Log: * variable.c: Simplify rdoc for remove_const [Bug #5354] Modified files: trunk/variable.c Index: variable.c =================================================================== --- variable.c (revision 35009) +++ variable.c (revision 35010) @@ -1800,10 +1800,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/