るりまサーチ

最速Rubyリファレンスマニュアル検索!
132件ヒット [101-132件を表示] (0.069秒)

別のキーワード

  1. drb reason
  2. _builtin reason
  3. optparse reason
  4. optparse reason=
  5. parseerror reason

ライブラリ

モジュール

キーワード

検索結果

<< < 1 2 >>

OpenURI::Meta#status -> [String] (17.0)

対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。

...対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。

//emlist[例][ruby]{
require 'open-uri'
open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}...
...対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。

//emlist[例][ruby]{
require 'open-uri'
URI.open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}...

LocalJumpError#exit_value -> object (13.0)

例外 LocalJumpError を発生する原因となった break や return に渡した値を返します。

...: return from block-closure>
p err.reason # => :return
p err.exit_value # => 10
end

begin
Block.new { break 5 }.call
rescue LocalJumpError => err
p err # => #<LocalJumpError: break from block-closure>
p err.reason # => :break
p err.exit_value...

OpenSSL::OCSP::BasicResponse#status -> [[OpenSSL::OCSP::CertificateId, Integer, Integer, Time|nil, Time, Time|nil, [OpenSSL::X509::Extension]]] (7.0)

証明書の状態の問い合わせの結果を返します。

...tificate ID
# 0, # status code
# 0, # reason code
# nil, # revoked time
# 2011-06-29 05:24:43 UTC, # upd...
<< < 1 2 >>