るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.108秒)
トップページ > 種類:特異メソッド[x] > クラス:Gem::SourceIndex[x] > クエリ:Gem::Specification[x]

別のキーワード

  1. rubygems gem
  2. rubygems/gem_openssl ssl_available?
  3. rubygems/gem_openssl ensure_ssl_available
  4. gem set_paths
  5. gem path

ライブラリ

キーワード

検索結果

Gem::SourceIndex.load_specification(file_name) -> Gem::Specification | nil (119.0)

与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。

...与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification
のインスタンスを返します。

@param file_name ファイル名を指定します。

@raise SignalException gemspec をロードしているときに発生します。

@raise...

Gem::SourceIndex.new(specifications = {}) -> Gem::SourceIndex (8.0)

与えられたハッシュを元に自身を初期化します。

...与えられたハッシュを元に自身を初期化します。

@param specifications キーを Gem の名前、値を Gem::Specification のインスタンスとするハッシュを指定します。...