6件ヒット
[1-6件を表示]
(0.028秒)
種類
- インスタンスメソッド (5)
- ライブラリ (1)
ライブラリ
キーワード
-
development
_ dependencies (1) -
find
_ reverse _ dependencies (1) -
gather
_ dependencies (1) -
runtime
_ dependencies (1) - tsort (1)
検索結果
先頭5件
-
Gem
:: Specification # dependencies -> Array (54607.0) -
依存している Gem のリストを返します。
依存している Gem のリストを返します。
@see Gem::Dependency -
Gem
:: Commands :: DependencyCommand # find _ reverse _ dependencies(spec) -> Array (18607.0) -
与えられた Gem スペックに依存する Gem のリストを返します。
与えられた Gem スペックに依存する Gem のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Gem
:: DependencyInstaller # gather _ dependencies -> Array (18607.0) -
依存関係を無視するように指定されていない限り、インストールするように指定された Gem が依存している Gem の情報を集めて返します。
依存関係を無視するように指定されていない限り、インストールするように指定された
Gem が依存している Gem の情報を集めて返します。 -
Gem
:: Specification # development _ dependencies -> Array (18607.0) -
この Gem が依存している Gem のリストを返します。
この Gem が依存している Gem のリストを返します。 -
Gem
:: Specification # runtime _ dependencies -> Array (18607.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
tsort (55.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...