3件ヒット
[1-3件を表示]
(0.066秒)
検索結果
先頭3件
-
Process
. exit(status = true) -> () (78694.0) -
プロセスを終了します。関数 Kernel.#exit と同じです。
プロセスを終了します。関数 Kernel.#exit と同じです。
@param status 終了ステータスを boolean か整数で指定します。true の場合は成功を、false は失敗を意味します。
@see exit(3) -
Process
. exit!(status = false) -> () (42694.0) -
関数 Kernel.#exit! と同じです。
関数 Kernel.#exit! と同じです。
@param status 終了ステータスを boolean か整数で指定します。true の場合は成功を、false は失敗を意味します。
@see _exit(2) -
SystemExit
. new(status = 0 , error _ message = "") -> SystemExit (33643.0) -
SystemExit オブジェクトを生成して返します。
SystemExit オブジェクトを生成して返します。
@param status 終了ステータスを整数で指定します。
@param error_message エラーメッセージを文字列で指定します。
例:
ex = SystemExit.new(1)
p ex.status # => 1