るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.072秒)
トップページ > クエリ:-[x] > クエリ:message[x] > クラス:SystemExit[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method gets
  4. irb/input-method new
  5. matrix -

ライブラリ

検索結果

SystemExit.new(status = 0, error_message = "") -> SystemExit (208.0)

SystemExit オブジェクトを生成して返します。

...
SystemExit
オブジェクトを生成して返します。

@param status 終了ステータスを整数で指定します。

@param error_message エラーメッセージを文字列で指定します。

例:

ex = SystemExit.new(1)
p ex.status # => 1...