/* * 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_ary_hash(ary) VALUE ary; { if (rb_inspecting_p(ary)) { return LONG2FIX(0); } return rb_protect_inspect(recursive_hash, ary, 0); }