* 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
This commit is contained in:
parent
137d82569f
commit
f3a72d4905
@ -1,3 +1,8 @@
|
|||||||
|
Sun Oct 17 10:47:12 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* variable.c (rb_mod_remove_const): update rdoc.
|
||||||
|
[ruby-core:31957]
|
||||||
|
|
||||||
Sun Oct 17 10:40:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Oct 17 10:40:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* class.c (rb_define_{class,module}_id_under): register to be
|
* class.c (rb_define_{class,module}_id_under): register to be
|
||||||
|
@ -1628,8 +1628,10 @@ rb_const_get_at(VALUE klass, ID id)
|
|||||||
* remove_const(sym) -> obj
|
* remove_const(sym) -> obj
|
||||||
*
|
*
|
||||||
* Removes the definition of the given constant, returning that
|
* Removes the definition of the given constant, returning that
|
||||||
* constant's value. Predefined classes and singleton objects (such as
|
* constant's value. Although predefined classes/modules also can be
|
||||||
* <i>true</i>) cannot be removed.
|
* 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
|
VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user