1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

enum.c: [DOC] Enumerable#uniq [ci skip]

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-07-20 21:15:19 +00:00
parent 39622db005
commit e9f61faa4b

4
enum.c
View file

@ -3811,6 +3811,10 @@ uniq_iter(RB_BLOCK_CALL_FUNC_ARGLIST(i, hash))
* 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