hash()
public
Compute a hash-code for this array. Two arrays with the same content will
have the same hash code (and will compare
using eql?).
Show source
/*
* call-seq:
* array.hash -> fixnum
*
* Compute a hash-code for this array. Two arrays with the same content
* will have the same hash code (and will compare using <code>eql?</code>).
*/
static VALUE
rb_hash_hash(hash)
VALUE hash;
{
return rb_exec_recursive(recursive_hash, hash, 0);
}