るりまサーチ (Ruby 3.4)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.010秒)
トップページ > バージョン:3.4[x] > クエリ:sourceindex[x] > クラス:Gem::SourceInfoCache[x]

別のキーワード

  1. sourceindex each
  2. sourceindex size
  3. sourceindex new
  4. sourceindex dump
  5. sourceindex length

ライブラリ

検索結果

Gem::SourceInfoCache#search(pattern, platform_only = false, all = false) -> [Gem::Specification] (22.0)

与えられた条件を満たす Gem::Specification のリストを返します。

与えられた条件を満たす Gem::Specification のリストを返します。

@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。

@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。

@param all 真を指定するとキャッシュを更新してから検索を実行します。

@see Gem::SourceIndex#search