469件ヒット
[201-300件を表示]
(0.083秒)
種類
- 定数 (231)
- インスタンスメソッド (183)
- 特異メソッド (55)
ライブラリ
- ビルトイン (66)
- csv (11)
- dbm (11)
- gdbm (11)
-
net
/ http (22) -
net
/ imap (44) - openssl (44)
-
rubygems
/ requirement (11) -
rubygems
/ specification (11) - sdbm (11)
- socket (44)
-
webrick
/ ssl (11) -
win32
/ registry (161) -
yaml
/ dbm (11)
クラス
- Array (11)
- CSV (11)
- DBM (11)
- GDBM (11)
-
Gem
:: Requirement (11) -
Gem
:: Specification (11) - Hash (11)
-
Net
:: HTTP (11) -
Net
:: IMAP (44) -
OpenSSL
:: Engine (22) -
OpenSSL
:: SSL :: SSLContext (11) - SDBM (11)
- Socket (22)
-
WEBrick
:: GenericServer (11) -
Win32
:: Registry (7) -
YAML
:: DBM (11)
モジュール
- Enumerable (44)
-
Net
:: HTTPHeader (11) -
OpenSSL
:: SSL (11) -
Socket
:: Constants (22) -
Win32
:: Registry :: Constants (154)
キーワード
-
INADDR
_ NONE (22) -
IPPROTO
_ NONE (22) -
METHOD
_ NONE (11) -
NONEXISTENT
_ SPECIFICATION _ VERSION (11) -
REG
_ BINARY (11) -
REG
_ DWORD (11) -
REG
_ DWORD _ BIG _ ENDIAN (11) -
REG
_ DWORD _ LITTLE _ ENDIAN (11) -
REG
_ EXPAND _ SZ (11) -
REG
_ FULL _ RESOURCE _ DESCRIPTOR (11) -
REG
_ LINK (11) -
REG
_ MULTI _ SZ (11) -
REG
_ NONE (11) -
REG
_ QWORD (11) -
REG
_ QWORD _ LITTLE _ ENDIAN (11) -
REG
_ RESOURCE _ LIST (11) -
REG
_ RESOURCE _ REQUIREMENTS _ LIST (11) -
REG
_ SZ (11) -
VERIFY
_ NONE (11) - detect (22)
- fetch (55)
- find (22)
-
get
_ fields (11) - new (55)
- none? (11)
- read (7)
-
set
_ default (11) - starttls (22)
-
verify
_ mode= (22)
検索結果
先頭5件
-
WEBrick
:: GenericServer . new(config = {} , default = WEBrick :: Config :: General) -> WEBrick :: GenericServer (6206.0) -
GenericServer オブジェクトを生成して返します。
...GenericServer オブジェクトを生成して返します。
config で有効な項目が増えます。以下は増える項目とそのデフォルト値です。
:ServerSoftware => "#{svrsoft} OpenSSL/#{osslv}",
:SSLEnable => true, # Ruby 1.8.3 以降では false がデ......tificate => nil,
:SSLPrivateKey => nil,
:SSLClientCA => nil,
:SSLExtraChainCert => nil,
:SSLCACertificateFile => nil,
:SSLCACertificatePath => nil,
:SSLCertificateStore => nil,
:SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
:SSLVerifyDepth => ni......ifyCallback => nil, # custom verification
:SSLTimeout => nil,
:SSLOptions => nil,
:SSLStartImmediately => true,
# Must specify if you use auto generated certificate.
:SSLCertName => nil,
:SSLCertComment => "Generated by Ruby/OpenSSL"
@param confi... -
Net
:: HTTP # verify _ mode=(mode) (6112.0) -
検証モードを設定します。
...証モードを設定します。
詳しくは OpenSSL::SSL::SSLContext#verify_mode を見てください。
クライアント側なので、
OpenSSL::SSL::VERIFY_NONE か OpenSSL::SSL::VERIFY_PEER
のいずれかを用います。
デフォルトは nil で、VERIFY_NONE を意味します。... -
OpenSSL
:: SSL :: SSLContext # verify _ mode=(mode) (6112.0) -
検証モードを設定します。
...:SSL::VERIFY_NONE
* OpenSSL::SSL::VERIFY_PEER
* OpenSSL::SSL::VERIFY_CLIENT_ONCE
* OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
これらの定数の意味はクライアントモードとサーバモードでは異なる
意味を持ちます。
デフォルトは nil で、VERIFY_NONE を意......味します。
@param mode 設定するモード(整数値)
@see OpenSSL::SSL::SSLContext#verify_mode... -
Net
:: HTTPHeader # get _ fields(key) -> [String] (6106.0) -
key ヘッダフィールドの値 (文字列) を配列で返します。
...ール名を文字列で与えます。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_response(uri)
res.get_fields('accept-ranges') # => ["none"]
//}
@see Net::HTTPHeader#[] , Net::HTTPHeader#[]=,
Net::HTTPHeader#add_field... -
Win32
:: Registry :: Constants :: REG _ DWORD (6001.0) -
@todo
@todo
レジストリ値の型。 -
Win32
:: Registry :: Constants :: REG _ EXPAND _ SZ (6001.0) -
@todo
@todo
レジストリ値の型。 -
Win32
:: Registry :: Constants :: REG _ QWORD (6001.0) -
@todo
@todo
レジストリ値の型。 -
Win32
:: Registry :: Constants :: REG _ SZ (6001.0) -
@todo
@todo
レジストリ値の型。 -
Enumerable
# find(ifnone = nil) -> Enumerator (3236.0) -
要素に対してブロックを評価した値が真になった最初の要素を返します。
...からず、ifnone も指定されていないときは nil を返します。
真になる要素が見つからず、ifnone が指定されているときは ifnone を call した結果を返します。
ブロックを省略した場合は Enumerator を返します。
@param ifnone call メ......ます。
//emlist[例][ruby]{
# 最初の 3 の倍数を探す
p [1, 2, 3, 4, 5].find {|i| i % 3 == 0 } # => 3
p [2, 2, 2, 2, 2].find {|i| i % 3 == 0 } # => nil
# ifnone の使用例
ifnone = proc { raise ArgumentError, "item not found" }
p [1, 2, 3, 4, 5].find(ifnone) {|i| i % 7 == 0 }
#... -
Enumerable
# find(ifnone = nil) {|item| . . . } -> object (3236.0) -
要素に対してブロックを評価した値が真になった最初の要素を返します。
...からず、ifnone も指定されていないときは nil を返します。
真になる要素が見つからず、ifnone が指定されているときは ifnone を call した結果を返します。
ブロックを省略した場合は Enumerator を返します。
@param ifnone call メ......ます。
//emlist[例][ruby]{
# 最初の 3 の倍数を探す
p [1, 2, 3, 4, 5].find {|i| i % 3 == 0 } # => 3
p [2, 2, 2, 2, 2].find {|i| i % 3 == 0 } # => nil
# ifnone の使用例
ifnone = proc { raise ArgumentError, "item not found" }
p [1, 2, 3, 4, 5].find(ifnone) {|i| i % 7 == 0 }
#...