ruby-changes:23008
From: shugo <ko1@a...>
Date: Fri, 16 Mar 2012 14:39:04 +0900 (JST)
Subject: [ruby-changes:23008] shugo:r35057 (trunk): * vm_eval.c (rb_mod_module_eval): fix the documentation of
shugo 2012-03-16 14:38:52 +0900 (Fri, 16 Mar 2012) New Revision: 35057 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35057 Log: * vm_eval.c (rb_mod_module_eval): fix the documentation of class_eval to mention class variable lookup. [ruby-core:40649] [Bug #5544] Modified files: trunk/ChangeLog trunk/vm_eval.c Index: ChangeLog =================================================================== --- ChangeLog (revision 35056) +++ ChangeLog (revision 35057) @@ -1,3 +1,9 @@ +Fri Mar 16 14:37:57 2012 Shugo Maeda <shugo@r...> + + * vm_eval.c (rb_mod_module_eval): fix the documentation of + class_eval to mention class variable lookup. [ruby-core:40649] + [Bug #5544] + Fri Mar 16 14:27:11 2012 Shugo Maeda <shugo@r...> * vm_eval.c (rb_mod_module_eval): fix the documentation of Index: vm_eval.c =================================================================== --- vm_eval.c (revision 35056) +++ vm_eval.c (revision 35057) @@ -1380,10 +1380,10 @@ * mod.module_eval {|| block } -> obj * * Evaluates the string or block in the context of _mod_, except that when - * a block is given, constant lookup is not affected. This can be used to - * add methods to a class. <code>module_eval</code> returns the result of - * evaluating its argument. The optional _filename_ and _lineno_ parameters - * set the text for error messages. + * a block is given, constant/class variable lookup is not affected. This + * can be used to add methods to a class. <code>module_eval</code> returns + * the result of evaluating its argument. The optional _filename_ and + * _lineno_ parameters set the text for error messages. * * class Thing * end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/