るりまサーチ (Ruby 2.7.0)

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

別のキーワード

  1. io popen
  2. io pipe
  3. io each
  4. io each_line
  5. io readlines

クラス

キーワード

検索結果

Gem::DependencyList#dependency_order -> [Gem::Specification] (307.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#find_name(full_name) -> Gem::Specification | nil (307.0)

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

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

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

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

@see Gem::Specification#full_name

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

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

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

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

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

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