Method: Gem::Molinillo::DependencyGraph::Vertex#hash

Defined in:
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb

#hashFixnum

Returns a hash for the vertex based upon its #name.

Returns:

  • (Fixnum)

    a hash for the vertex based upon its #name



125
126
127
# File 'lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb', line 125

def hash
  name.hash
end