2014-01-02から1日間の記事一覧
概要 Exception#status/success? 詳細 Exception#statusはSystemExitの終了ステータスを返します。 Exception#success?はSystemExitの終了ステータスがtrueかnilの場合に真を返します。 サンプル コード # encoding: utf-8 class Hoge def hoge(msg) Hige.ne…
概要 Exception#status/success? 詳細 Exception#statusはSystemExitの終了ステータスを返します。 Exception#success?はSystemExitの終了ステータスがtrueかnilの場合に真を返します。 サンプル コード # encoding: utf-8 class Hoge def hoge(msg) Hige.ne…