new(status = 0, error_message = "") -> SystemExit[permalink][rdoc][edit]() → void(string msg) → void(true | false | int status, ?string msg) → void-
SystemExit オブジェクトを生成して返します。
- [PARAM]
status: - 終了ステータスを整数で指定します。
- [PARAM]
error_message: - エラーメッセージを文字列で指定します。
ex = SystemExit.new(1) p ex.status # => 1 - [PARAM]