diff options
-rw-r--r-- | array.c | 2 | ||||
-rw-r--r-- | bignum.c | 2 | ||||
-rw-r--r-- | gc.c | 2 | ||||
-rw-r--r-- | hash.c | 2 | ||||
-rw-r--r-- | numeric.c | 2 | ||||
-rw-r--r-- | proc.c | 4 | ||||
-rw-r--r-- | range.c | 2 | ||||
-rw-r--r-- | re.c | 4 | ||||
-rw-r--r-- | string.c | 2 | ||||
-rw-r--r-- | struct.c | 2 | ||||
-rw-r--r-- | time.c | 2 |
11 files changed, 26 insertions, 0 deletions
@@ -3796,6 +3796,8 @@ rb_ary_eql(VALUE ary1, VALUE ary2) * * Two arrays with the same content will have the same hash code (and will * compare using #eql?). + * + * See also Object#hash. */ static VALUE @@ -6782,6 +6782,8 @@ rb_big_aref(VALUE x, VALUE y) * big.hash -> fixnum * * Compute a hash based on the value of _big_. + * + * See also Object#hash. */ static VALUE @@ -2375,6 +2375,8 @@ id2ref(VALUE obj, VALUE objid) * * Any hash value that exceeds the capacity of a Fixnum will be truncated * before being used. + * + * See also Object#hash. */ VALUE @@ -2010,6 +2010,8 @@ hash_i(VALUE key, VALUE val, VALUE arg) * * Compute a hash-code for this hash. Two hashes with the same content * will have the same hash code (and will compare using <code>eql?</code>). + * + * See also Object#hash. */ static VALUE @@ -1107,6 +1107,8 @@ flo_eq(VALUE x, VALUE y) * float.hash -> integer * * Returns a hash code for this float. + * + * See also Object#hash. */ static VALUE @@ -1067,6 +1067,8 @@ rb_hash_proc(st_index_t hash, VALUE prc) * prc.hash -> integer * * Returns a hash value corresponding to proc body. + * + * See also Object#hash. */ static VALUE @@ -1347,6 +1349,8 @@ method_eq(VALUE method, VALUE other) * meth.hash -> integer * * Returns a hash value corresponding to the method object. + * + * See also Object#hash. */ static VALUE @@ -250,6 +250,8 @@ range_eql(VALUE range, VALUE obj) * Compute a hash-code for this range. Two ranges with equal * begin and end points (using <code>eql?</code>), and the same * #exclude_end? value will generate the same hash-code. + * + * See also Object#hash. */ static VALUE @@ -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 @@ -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 @@ -949,6 +949,8 @@ rb_struct_equal(VALUE s, VALUE s2) * struct.hash -> fixnum * * Returns a hash value based on this struct's contents (see Object#hash). + * + * See also Object#hash. */ static VALUE @@ -3405,6 +3405,8 @@ time_utc_p(VALUE time) * time.hash -> fixnum * * Returns a hash code for this Time object. + * + * See also Object#hash. */ static VALUE |