[前][次][番号順一覧][スレッド一覧]

ruby-changes:57400

From: Kazuhiro <ko1@a...>
Date: Fri, 30 Aug 2019 12:04:07 +0900 (JST)
Subject: [ruby-changes:57400] Kazuhiro NISHIYAMA: 1680bd4e4f (master): [DOC] Return obj may be different from 1st argument [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=1680bd4e4f

From 1680bd4e4f63901ff8ab119540850e7e63f1b7a2 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Fri, 30 Aug 2019 12:01:45 +0900
Subject: [DOC] Return obj may be different from 1st argument [ci skip]


diff --git a/proc.c b/proc.c
index 0d8c4cd..dd2fcfd 100644
--- a/proc.c
+++ b/proc.c
@@ -2411,11 +2411,11 @@ umethod_bind(VALUE method, VALUE recv) https://github.com/ruby/ruby/blob/trunk/proc.c#L2411
 
 /*
  *  call-seq:
- *     umeth.bind_call(obj, args, ...) -> obj
+ *     umeth.bind_call(recv, args, ...) -> obj
  *
- *  Bind <i>umeth</i> to <i>obj</i> and then invokes the method with the
+ *  Bind <i>umeth</i> to <i>recv</i> and then invokes the method with the
  *  specified arguments.
- *  This is semantically equivalent to <code>umeth.bind(obj).call(args, ...)</code>.
+ *  This is semantically equivalent to <code>umeth.bind(recv).call(args, ...)</code>.
  */
 static VALUE
 umethod_bind_call(int argc, VALUE *argv, VALUE method)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]