Method: Gem::Molinillo::DependencyGraph::Vertex#ancestor?
- Defined in:
- lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb
#ancestor?(other) ⇒ Boolean Also known as: is_reachable_from?
Is there a path from ‘other` to `self` following edges in the dependency graph?
151 152 153 |
# File 'lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb', line 151 def ancestor?(other) other.path_to?(self) end |