From 7cb7b5f7f2eb1a4c78242fd512b75746bc209204 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 20 Feb 2016 05:44:52 +0000 Subject: [PATCH] Fix Module#module_eval rdoc [ci skip] * vm_eval.c (rb_mod_module_eval): [DOC] Fix documentation signature for Module#module_eval. [Fix GH-1258] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ vm_eval.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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