Skip to content

Commit

Permalink
enum.c: [DOC] Enumerable#uniq [ci skip]
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed Jul 20, 2016
1 parent 39622db commit e9f61fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions enum.c
Expand Up @@ -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
Expand Down

0 comments on commit e9f61fa

Please sign in to comment.