ruby-changes:36664
From: nobu <ko1@a...>
Date: Tue, 9 Dec 2014 12:48:55 +0900 (JST)
Subject: [ruby-changes:36664] nobu:r48745 (trunk): vm_eval.c: fix `rb_eval_string_wrap` rdoc
nobu 2014-12-09 12:48:35 +0900 (Tue, 09 Dec 2014) New Revision: 48745 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48745 Log: vm_eval.c: fix `rb_eval_string_wrap` rdoc * vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap` documentation. It is referencing `require` instead of `load`. The former does not have the optional argument. [Fix GH-779] [ci skip] Modified files: trunk/ChangeLog trunk/vm_eval.c Index: ChangeLog =================================================================== --- ChangeLog (revision 48744) +++ ChangeLog (revision 48745) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Dec 9 12:48:32 2014 Josef Simanek <josef.simanek@g...> + + * vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap` + documentation. It is referencing `require` instead of `load`. + The former does not have the optional argument. [Fix GH-779] + Tue Dec 9 10:16:24 2014 Nobuyoshi Nakada <nobu@r...> * eval.c (rb_frame_last_func): return the most recent frame method Index: vm_eval.c =================================================================== --- vm_eval.c (revision 48744) +++ vm_eval.c (revision 48745) @@ -1442,7 +1442,7 @@ rb_eval_string_protect(const char *str, https://github.com/ruby/ruby/blob/trunk/vm_eval.c#L1442 /** * Evaluates the given string under a module binding in an isolated binding. - * This is same as the binding for required libraries on "require('foo', true)". + * This is same as the binding for loaded libraries on "load('foo', true)". * * __FILE__ will be "(eval)", and __LINE__ starts from 1 in the evaluation. * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/