4件ヒット
[1-4件を表示]
(0.037秒)
種類
- インスタンスメソッド (3)
- ライブラリ (1)
ライブラリ
クラス
キーワード
-
development
_ dependencies (1) -
runtime
_ dependencies (1) - tsort (1)
検索結果
先頭4件
-
Gem
:: Specification # dependencies -> Array (63607.0) -
依存している Gem のリストを返します。
依存している Gem のリストを返します。
@see Gem::Dependency -
Gem
:: Specification # development _ dependencies -> Array (27607.0) -
この Gem が依存している Gem のリストを返します。
この Gem が依存している Gem のリストを返します。 -
Gem
:: Specification # runtime _ dependencies -> Array (27607.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
tsort (73.0)
-
tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
=== Example
//emlist[][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
{1=>[2, 3], 2=>[3], 3=>[], 4=>[]}.tsort
#=> [3, 2, 1, 4]
{1=>[2], 2=>[3, 4...