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

ruby-changes:60886

From: Nobuyoshi <ko1@a...>
Date: Fri, 24 Apr 2020 12:22:59 +0900 (JST)
Subject: [ruby-changes:60886] ac2106acc2 (master): [DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]

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

From ac2106acc276854ae2ac8cc5fa6859aa28362f2f Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 24 Apr 2020 11:06:52 +0900
Subject: [DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]


diff --git a/proc.c b/proc.c
index 50ebdbd..e927469 100644
--- a/proc.c
+++ b/proc.c
@@ -3530,8 +3530,8 @@ rb_method_compose_to_left(VALUE self, VALUE g) https://github.com/ruby/ruby/blob/trunk/proc.c#L3530
  *     meth >> g -> a_proc
  *
  *  Returns a proc that is the composition of this method and the given <i>g</i>.
- *  The returned proc takes a variable number of arguments, calls <i>g</i> with them
- *  then calls this method with the result.
+ *  The returned proc takes a variable number of arguments, calls this method
+ *  with them then calls <i>g</i> with the result.
  *
  *     def f(x)
  *       x * x
-- 
cgit v0.10.2


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

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