5件ヒット
[1-5件を表示]
(0.135秒)
種類
- インスタンスメソッド (4)
- ライブラリ (1)
ライブラリ
クラス
キーワード
-
dependency
_ order (1) -
development
_ dependencies (1) -
runtime
_ dependencies (1) - tsort (1)
検索結果
先頭5件
-
Gem
:: Specification # dependencies -> Array (63604.0) -
依存している Gem のリストを返します。
依存している Gem のリストを返します。
@see Gem::Dependency -
Gem
:: Specification # runtime _ dependencies -> Array (45604.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: Specification # development _ dependencies -> Array (27604.0) -
この Gem が依存している Gem のリストを返します。
この Gem が依存している Gem のリストを返します。 -
Gem
:: DependencyList # dependency _ order -> [Gem :: Specification] (18619.0) -
依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。
依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。
このことは、インストール済みの Gem を削除するときに便利です。
このメソッドで返された順にインストール済みの Gem 削除すると、
依存関係による多くの問題を回避することができます。
If there are circular dependencies (yuck!), then gems will be
returned in order until only the circular dependents and anything
they reference are le... -
tsort (18073.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...