るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.023秒)
トップページ > クエリ:-[x] > クエリ:on[x] > ライブラリ:rubygems/dependency_list[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

クラス

キーワード

検索結果

Gem::DependencyList#dependency_order -> [Gem::Specification] (202.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 left. Then arbitrary gemspecs will be returned
until the circular dependency is broken, af...

Gem::DependencyList#find_name(full_name) -> Gem::Specification | nil (202.0)

自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。

...身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。

見つからなかった場合は nil を返します。

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

@see Gem::Specification#full_name...

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

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

...名前を持つ Gem::Specification を自身から削除します。

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

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

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