instance method
TSort#tsort_each_child
(Node) { (Node) -> void } -> void
tsort_each_child(node) { |child| ... }
lib/tsort.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/tsort.rb, line 454
def tsort_each_child(node) # :yields: child
raise NotImplementedError.new
end
Should be implemented by a extended class.
tsort_each_child is used to iterate for child nodes of node.