るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

ライブラリ

検索結果

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

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

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

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

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

例:

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