132件ヒット
[101-132件を表示]
(0.069秒)
クラス
-
DRb
:: DRbRemoteError (12) - LocalJumpError (24)
-
OpenSSL
:: OCSP :: BasicResponse (24) -
OptionParser
:: ParseError (24) -
WEBrick
:: HTTPResponse (36)
モジュール
-
OpenURI
:: Meta (12)
キーワード
-
add
_ status (12) -
exit
_ value (12) - reason= (12)
-
reason
_ phrase (12) -
reason
_ phrase= (12) - status (24)
- status= (12)
検索結果
先頭3件
-
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...