summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-20 21:15:19 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-20 21:15:19 (GMT)
commite9f61faa4b1220f2baacdf4a81cd97222ee1b543 (patch)
tree3442165205747aacbc2493b8955efebd72607d38 /enum.c
parent39622db00578bd6cfefb70e3d86530015293c86c (diff)
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
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/enum.c b/enum.c
index fb1150a..f561a68 100644
--- a/enum.c
+++ b/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