Method: Gem::Dependency#hash
- Defined in:
- lib/rubygems/dependency.rb
#hash ⇒ Object
A dependency’s hash is the XOR of the hashes of name
, type
, and requirement
.
71 72 73 |
# File 'lib/rubygems/dependency.rb', line 71 def hash # :nodoc: name.hash ^ type.hash ^ requirement.hash end |