Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Object/hash-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Generates a <tt>Fixnum</tt> hash value for this object. This function must have the property that <tt>a.eql?(b)</tt> implies <tt>a.hash == b.hash</tt>. The hash value is used by class <tt>Hash</tt>. Any hash value that exceeds the capacity of a <tt>Fixnum</tt> will be truncated before being used.
full_name: Object#hash
is_singleton: false
name: hash
params: |
obj.hash => fixnum
visibility: public