diff --git a/ChangeLog b/ChangeLog index 74fa222989..58c37cdf66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 9 12:48:32 2014 Josef Simanek + + * 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 * eval.c (rb_frame_last_func): return the most recent frame method diff --git a/vm_eval.c b/vm_eval.c index 1a6f49b08c..49ca9d4191 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -1442,7 +1442,7 @@ rb_eval_string_protect(const char *str, int *state) /** * 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. *