Method: Gem::Molinillo::DependencyGraph::Vertex#==
- Defined in:
- lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb
#==(other) ⇒ Boolean Also known as: eql?
Returns whether the two vertices are equal, determined by a recursive traversal of each #successors.
106 107 108 109 110 |
# File 'lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb', line 106 def ==(other) return true if equal?(other) shallow_eql?(other) && successors.to_set == other.successors.to_set end |