summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-17 01:47:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-17 01:47:15 +0000
commitf3a72d49059f79b87e3363ab1288d5297513c5ef (patch)
tree7cfcaf3fedc22273ac99386786656cb43ded58e8 /variable.c
parent137d82569f961a908daa0331a0664a0eca3e8f93 (diff)
* variable.c (rb_mod_remove_const): update rdoc.
[ruby-core:31957] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/variable.c b/variable.c
index 0316a902ac..ce5c2b8258 100644
--- a/variable.c
+++ b/variable.c
@@ -1628,8 +1628,10 @@ rb_const_get_at(VALUE klass, ID id)
* 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