るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.111秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:l[x] > バージョン:2.5.0[x] > クエリ:r[x] > ライブラリ:rubygems/dependency_list[x]

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l

検索結果

Gem::DependencyList#ok_to_remove?(full_name) -> bool (27610.0)

与えられた名前を持つ Gem::Specification を自身から削除しても OK な場合は真を返します。 そうでない場合は、偽を返します。

与えられた名前を持つ Gem::Specification を自身から削除しても OK な場合は真を返します。
そうでない場合は、偽を返します。

与えられた名前を持つ Gem::Specification を自身から削除すると、
依存関係を壊してしまう場合が、それを削除してはいけない場合です。

@param full_name バージョンを含むフルネームで Gem の名前を指定します。

@see Gem::Specification#full_name

Gem::DependencyList#remove_by_name(full_name) -> Gem::Specification (27610.0)

与えられた名前を持つ Gem::Specification を自身から削除します。

与えられた名前を持つ Gem::Specification を自身から削除します。

このメソッドでは削除後の依存関係をチェックしません。

@param full_name バージョンを含むフルネームで Gem の名前を指定します。

@see Gem::Specification#full_name, Array#delete_if

Gem::DependencyList#dependency_order -> [Gem::Specification] (27310.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...

Gem::DependencyList#spec_predecessors -> Hash (27310.0)

@todo ???

@todo ???

Return a hash of predecessors. <tt>result[spec]</tt> is an
Array of gemspecs that have a dependency satisfied by the named
spec.