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:
parent
39622db005
commit
e9f61faa4b
1 changed files with 4 additions and 0 deletions
4
enum.c
4
enum.c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue