summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-17 02:25:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-17 02:25:28 +0000
commit0701e5ff4641f364e39b9b6036afeecb3a816a5a (patch)
tree3ac6cf8c124af7479c019b02c92ad8265954316e /hash.c
parent8e465f9c99a8a8db4ab36d21b87d29b9acf99fc0 (diff)
downloadruby-0701e5ff4641f364e39b9b6036afeecb3a816a5a.tar.gz
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
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index c724b2e2b5..717a548a31 100644
--- a/hash.c
+++ b/hash.c
@@ -2695,8 +2695,8 @@ rb_hash_any_p(VALUE hash)
* call-seq:
* hsh.dig(key, ...) -> object
*
- * Retrieves the value object corresponding to the each <i>key</i>
- * objects repeatedly.
+ * Extracts the nested hash value specified by the sequence of <i>key</i>
+ * objects.
*
* h = { foo: {bar: {baz: 1}}}
*