るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin status
  2. openssl status
  3. cgi http_status
  4. getoptlong status_yet
  5. getoptlong status_started

ライブラリ

クラス

キーワード

検索結果

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

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

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

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

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

例:

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

OpenSSL::OCSP::Response.create(status, basic_resp) -> OpenSSL::OCSP::Response (343.0)

Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト から生成します。

Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト
から生成します。


@param status ステータスコード(整数)
@param basic_resp OpenSSL::OCSP::BasicResponse オブジェクト
@see OpenSSL::OCSP::Response.new

Thread.stop -> nil (40.0)

他のスレッドから Thread#run メソッドで再起動されるまで、カレ ントスレッドの実行を停止します。

他のスレッドから Thread#run メソッドで再起動されるまで、カレ
ントスレッドの実行を停止します。

//emlist[例][ruby]{
a = Thread.new { print "a"; Thread.stop; print "c" }
sleep 0.1 while a.status!='sleep'
print "b"
a.run
a.join
# => "abc"
//}

@see Thread#run, Thread#wakeup