るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
5件ヒット [1-5件を表示] (0.135秒)
トップページ > バージョン:2.5.0[x] > クエリ:r[x] > クエリ:cat[x] > クエリ:dependencies[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. bigdecimal to_r
  5. fileutils cp_r

検索結果

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...

絞り込み条件を変える