summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-14 04:49:46 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-14 04:49:46 +0000
commit45086d1b30560dad86ed398569b1a21557a40dd1 (patch)
treeee027d9f48ac2893f87ddac59daf8062f2b1dc68
parentf4cda1e55b70d759d12f703fcc3ad8b749f6c220 (diff)
merge revision(s) 35010:
* variable.c: Simplify rdoc for remove_const [Bug #5354] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--variable.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/variable.c b/variable.c
index caadf71909..3da500eddb 100644
--- a/variable.c
+++ b/variable.c
@@ -1666,10 +1666,9 @@ rb_public_const_get_at(VALUE klass, ID id)
* 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