るりまサーチ (Ruby 2.2.0)

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

別のキーワード

  1. _builtin stat
  2. gc stat
  3. csv stat
  4. pathname stat
  5. io stat

ライブラリ

検索結果

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

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

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

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

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

例:

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