Sha256: 6ec54d424668409372198e63fe6d1633e4fb815bdaaf1dcbe26cf9641a5aca5b

Contents?: true

Size: 486 Bytes

Versions: 41

Compression:

Stored size: 486 Bytes

Contents

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

41 entries across 41 versions & 1 rubygems

Version Path
rbs-2.0.0 stdlib/tsort/0/interfaces.rbs
rbs-2.0.0.pre2 stdlib/tsort/0/interfaces.rbs
rbs-2.0.0.pre1 stdlib/tsort/0/interfaces.rbs
rbs-1.8.1 stdlib/tsort/0/interfaces.rbs
rbs-1.8.0 stdlib/tsort/0/interfaces.rbs
rbs-1.7.1 stdlib/tsort/0/interfaces.rbs
rbs-1.7.0 stdlib/tsort/0/interfaces.rbs
rbs-1.7.0.beta.5 stdlib/tsort/0/interfaces.rbs
rbs-1.7.0.beta.4 stdlib/tsort/0/interfaces.rbs
rbs-1.7.0.beta.3 stdlib/tsort/0/interfaces.rbs
rbs-1.7.0.beta.2 stdlib/tsort/0/interfaces.rbs
rbs-1.7.0.beta.1 stdlib/tsort/0/interfaces.rbs
rbs-1.6.2 stdlib/tsort/0/interfaces.rbs
rbs-1.6.1 stdlib/tsort/0/interfaces.rbs
rbs-1.6.0 stdlib/tsort/0/interfaces.rbs
rbs-1.5.1 stdlib/tsort/0/interfaces.rbs
rbs-1.5.0 stdlib/tsort/0/interfaces.rbs
rbs-1.4.0 stdlib/tsort/0/interfaces.rbs
rbs-1.3.3 stdlib/tsort/0/interfaces.rbs
rbs-1.3.2 stdlib/tsort/0/interfaces.rbs