instance method
Gem::DependencyList#tsort_each_child
tsort_each_child(node) { |spec| ... }
lib/rubygems/dependency_list.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/dependency_list.rb, line 217
def tsort_each_child(node)
specs = @specs.sort.reverse
dependencies = node.runtime_dependencies
dependencies.push(*node.development_dependencies) if @development
dependencies.each do |dep|
specs.each do |spec|
if spec.satisfies_requirement? dep
yield spec
break
end
end
end
end
No documentation available
See also
#spec_predecessors
#tsort_each_node
#remove_specs_unsatisfied_by
#why_not_ok?
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0