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

ruby-changes:56396

From: Kazuhiro <ko1@a...>
Date: Tue, 9 Jul 2019 13:01:47 +0900 (JST)
Subject: [ruby-changes:56396] Kazuhiro NISHIYAMA: 515e106fb7 (master): [DOC] Add link to Enumerable#grep from Enumerable#select

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

From 515e106fb73a1a3bc69b6f1670bbaaebf45fee30 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Tue, 9 Jul 2019 13:00:34 +0900
Subject: [DOC] Add link to Enumerable#grep from Enumerable#select


diff --git a/enum.c b/enum.c
index bdc5c68..c06e336 100644
--- a/enum.c
+++ b/enum.c
@@ -436,7 +436,7 @@ enum_size_over_p(VALUE obj, long n) https://github.com/ruby/ruby/blob/trunk/enum.c#L436
  *
  *     [:foo, :bar].filter { |x| x == :foo }   #=> [:foo]
  *
- *  See also Enumerable#reject.
+ *  See also Enumerable#reject, Enumerable#grep.
  */
 
 static VALUE
-- 
cgit v0.10.2


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

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