Method: Struct#hash
- Defined in:
- struct.c
#hash ⇒ Fixnum
Return a hash value based on this struct's contents.
|
# File 'struct.c'
/*
* call-seq:
* struct.hash -> fixnum
*
* Return a hash value based on this struct's contents.
*/
static VALUE
rb_struct_hash(VALUE s)
{
return rb_exec_recursive_outer(recursive_hash, s, 0);
}
|