るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.051秒)
トップページ > クエリ:io[x] > バージョン:2.1.0[x] > クエリ:spec[x] > クエリ:load_specification[x]

別のキーワード

  1. lockcommand spec_path
  2. installer spec
  3. sourceindex spec_dirs
  4. sourceindex spec_dirs=
  5. format spec

ライブラリ

クラス

検索結果

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

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

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

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

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

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