summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-14 01:27:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-14 01:27:43 +0000
commitfc23374f060722b944b89da264a58406bd4cefb2 (patch)
tree4c421f333625d6881a412d89ad36312e2085edc5 /string.c
parentf53c291ab26dd9b8fac964a038b35405f1045297 (diff)
[DOC] add links to `Object#hash`
add links to `Object#hash` to each #`hash` methods rdocs. [Fixes GH-567] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/string.c b/string.c
index d41a5314e1..075876f47a 100644
--- a/string.c
+++ b/string.c
@@ -2338,6 +2338,8 @@ rb_str_hash_cmp(VALUE str1, VALUE str2)
* str.hash -> fixnum
*
* Return a hash based on the string's length, content and encoding.
+ *
+ * See also Object#hash.
*/
static VALUE