aboutsummaryrefslogtreecommitdiffstats
path: root/re.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 /re.c
parentf53c291ab26dd9b8fac964a038b35405f1045297 (diff)
downloadruby-fc23374f060722b944b89da264a58406bd4cefb2.tar.gz
[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 're.c')
-rw-r--r--re.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/re.c b/re.c
index d7ffeb040c..106cf593ac 100644
--- a/re.c
+++ b/re.c
@@ -2583,6 +2583,8 @@ static st_index_t reg_hash(VALUE re);
* rxp.hash -> fixnum
*
* Produce a hash based on the text and options of this regular expression.
+ *
+ * See also Object#hash.
*/
static VALUE
@@ -2641,6 +2643,8 @@ rb_reg_equal(VALUE re1, VALUE re2)
*
* Produce a hash based on the target string, regexp and matched
* positions of this matchdata.
+ *
+ * See also Object#hash.
*/
static VALUE