2件ヒット
[1-2件を表示]
(0.007秒)
ライブラリ
- ビルトイン (1)
-
rubygems
/ source _ index (1)
クラス
-
Gem
:: SourceIndex (1) - SystemExit (1)
キーワード
-
load
_ specification (1) - new (1)
検索結果
先頭2件
-
SystemExit
. new(status = 0 , error _ message = "") -> SystemExit (63373.0) -
SystemExit オブジェクトを生成して返します。
SystemExit オブジェクトを生成して返します。
@param status 終了ステータスを整数で指定します。
@param error_message エラーメッセージを文字列で指定します。
例:
ex = SystemExit.new(1)
p ex.status # => 1 -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (22.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。