aboutsummaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm_eval.c b/vm_eval.c
index f9eef4288a..3487f2026f 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1380,10 +1380,10 @@ rb_obj_instance_exec(int argc, VALUE *argv, VALUE self)
* 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