Sha256: ed8c8f483d7a53b6a4bce99881cc0d3d61dff395b7629c569712fcc6ce95f1d4

Contents?: true

Size: 509 Bytes

Versions: 63

Compression:

Stored size: 509 Bytes

Contents

%a{annotate:rdoc:skip}
module TSort[Node]
  interface _Sortable[Node]
    # #tsort_each_node is used to iterate for all nodes over a graph.
    #
    def tsort_each_node: () { (Node) -> void } -> void

    # #tsort_each_child is used to iterate for child nodes of node.
    #
    def tsort_each_child: (Node) { (Node) -> void } -> void
  end

  interface _EachNode[Node]
    def call: () { (Node) -> void } -> void
  end

  interface _EachChild[Node]
    def call: (Node) { (Node) -> void } -> void
  end
end

Version data entries

63 entries across 63 versions & 2 rubygems

Version Path
rbs-2.2.1 stdlib/tsort/0/interfaces.rbs
rbs-2.2.0 stdlib/tsort/0/interfaces.rbs
rbs-2.1.0 stdlib/tsort/0/interfaces.rbs