module TSort::_Sortable
Public Instance Methods
(N) { (N) → void } → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/stdlib/tsort/0/interfaces.rbs, line 10
def tsort_each_child: (N) { (N) -> void } -> void
tsort_each_child is used to iterate for child nodes of node.
() { (N) → void } → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/stdlib/tsort/0/interfaces.rbs, line 6
def tsort_each_node: () { (N) -> void } -> void
tsort_each_node is used to iterate for all nodes over a graph.