Method: Regexp#hash
- Defined in:
- re.c
#hash ⇒ Integer
Returns the integer hash value for self
.
Related: Object#hash.
3500 3501 3502 3503 3504 3505 |
# File 're.c', line 3500
VALUE
rb_reg_hash(VALUE re)
{
st_index_t hashval = reg_hash(re);
return ST2FIX(hashval);
}
|