diff --git a/ChangeLog b/ChangeLog index de38f61ea2..e93210dde9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 20 14:44:15 2016 Lucas Buchala + + * 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 * README.md: a few grammatical changes to the main Ruby README.md. diff --git a/vm_eval.c b/vm_eval.c index 13a9efe556..5bdc948c75 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -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