From 0701e5ff4641f364e39b9b6036afeecb3a816a5a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 17 Nov 2015 02:25:28 +0000 Subject: update rdoc of dig methods [ci skip] * array.c (rb_ary_dig), hash.c (rb_hash_dig): [DOC] Update comments describing dig methods. [Fix GH-1103] * struct.c (rb_struct_dig): [DOC] add rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index 7469cc2387..8f8eb1e8d9 100644 --- a/array.c +++ b/array.c @@ -5535,8 +5535,8 @@ rb_ary_any_p(VALUE ary) * call-seq: * ary.dig(idx, ...) -> object * - * Retrieves the value object corresponding to the each idx - * objects repeatedly. + * Extracts the nested array value specified by the sequence of idx + * objects. * * a = [[1, [2, 3]]] * -- cgit v1.2.3