diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | vm_eval.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Feb 20 14:44:15 2016 Lucas Buchala <lucasbuchala@gmail.com> + + * vm_eval.c (rb_mod_module_eval): [DOC] Fix documentation + signature for Module#module_eval. [Fix GH-1258] + Sat Feb 20 14:40:44 2016 Adam O'Connor <northband@gmail.com> * README.md: a few grammatical changes to the main Ruby README.md. @@ -1743,7 +1743,9 @@ rb_obj_instance_exec(int argc, const VALUE *argv, VALUE self) /* * call-seq: * mod.class_eval(string [, filename [, lineno]]) -> obj - * mod.module_eval {|| block } -> obj + * mod.class_eval {|mod| block } -> obj + * mod.module_eval(string [, filename [, lineno]]) -> obj + * mod.module_eval {|mod| block } -> obj * * Evaluates the string or block in the context of _mod_, except that when * a block is given, constant/class variable lookup is not affected. This |