Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
TSort#tsort_each_child
tsort_each_child(node) { |child| ... }
lib/tsort.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/tsort.rb, line 452
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.