From 1680bd4e4f63901ff8ab119540850e7e63f1b7a2 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Fri, 30 Aug 2019 12:01:45 +0900 Subject: [PATCH] [DOC] Return obj may be different from 1st argument [ci skip] --- proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proc.c b/proc.c index 0d8c4cd9fe..dd2fcfd957 100644 --- a/proc.c +++ b/proc.c @@ -2411,11 +2411,11 @@ umethod_bind(VALUE method, VALUE recv) /* * call-seq: - * umeth.bind_call(obj, args, ...) -> obj + * umeth.bind_call(recv, args, ...) -> obj * - * Bind umeth to obj and then invokes the method with the + * Bind umeth to recv and then invokes the method with the * specified arguments. - * This is semantically equivalent to umeth.bind(obj).call(args, ...). + * This is semantically equivalent to umeth.bind(recv).call(args, ...). */ static VALUE umethod_bind_call(int argc, VALUE *argv, VALUE method)