aboutsummaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_eval.c b/vm_eval.c
index c27df07ff7..8311544139 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1663,6 +1663,8 @@ rb_mod_module_eval(int argc, VALUE *argv, VALUE mod)
*
* Evaluates the given block in the context of the class/module.
* The method defined in the block will belong to the receiver.
+ * Any arguments passed to the method will be passed to the block.
+ * This can be used if the block needs to access instance variables.
*
* class Thing
* end