This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

hash

        # Gem::Requirement.hash

(from ruby core)
### Implementation from Object
---
    obj.hash    -> integer

---

Generates an Integer hash value for this object.  This function must
have the property that `a.eql?(b)` implies `a.hash == b.hash`.

The hash value is used along with #eql? by the Hash class to determine
if two objects reference the same hash key.  Any hash value that exceeds
the capacity of an Integer will be truncated before being used.

The hash value for an object may not be identical across invocations or
implementations of Ruby.  If you need a stable identifier across Ruby
invocations and implementations you will need to generate one with a
custom method.

Certain core classes such as Integer use built-in hash calculations and
do not call the #hash method when used as a hash key.



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.