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

ruby-changes:43642

From: nobu <ko1@a...>
Date: Thu, 21 Jul 2016 06:15:24 +0900 (JST)
Subject: [ruby-changes:43642] nobu:r55715 (trunk): enum.c: [DOC] Enumerable#uniq [ci skip]

nobu	2016-07-21 06:15:19 +0900 (Thu, 21 Jul 2016)

  New Revision: 55715

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55715

  Log:
    enum.c: [DOC] Enumerable#uniq [ci skip]
    
    * enum.c (enum_uniq): add rdoc, reference to Array#uniq.
      [Feature #11090]

  Modified files:
    trunk/enum.c
Index: enum.c
===================================================================
--- enum.c	(revision 55714)
+++ enum.c	(revision 55715)
@@ -3811,6 +3811,10 @@ uniq_iter(RB_BLOCK_CALL_FUNC_ARGLIST(i, https://github.com/ruby/ruby/blob/trunk/enum.c#L3811
  *  call-seq:
  *     enum.uniq                -> new_ary
  *     enum.uniq { |item| ... } -> new_ary
+ *
+ *  Returns a new array by removing duplicate values in +self+.
+ *
+ *  See also Array#uniq.
  */
 
 static VALUE

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

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