summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-14 04:48:02 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-14 04:48:02 +0000
commit092db4dcf0a6c9b0dc0408d4f29189754a07212e (patch)
treee119d7d2193fc14230fd25232c5af067f227d397 /variable.c
parent4bce9fc7bd4a0909e5f484fbf9fd5dac4012ed53 (diff)
* variable.c: Simplify rdoc for remove_const [Bug #5354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/variable.c b/variable.c
index 3e57d0d1ec..523bc58e75 100644
--- a/variable.c
+++ b/variable.c
@@ -1800,10 +1800,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