hash()
A dependency’s hash is the XOR of the hashes of name, type, and requirement.
# File lib/rubygems/dependency.rb, line 72 def hash # :nodoc: name.hash ^ type.hash ^ requirement.hash end