るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.080秒)
トップページ > クエリ:i[x] > クエリ:key[x] > クラス:OpenSSL::Config[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

ライブラリ

検索結果

OpenSSL::Config#each {|section, key, value| ... } -> self (3214.0)

オブジェクトに含まれる全ての設定情報を順にブロックに渡し 呼び出します。

...ire 'openssl'
conf = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
conf.each{|section, key, value| p [section, key, value]}
# => ["req_distinguished_name", "countryName", "Country Name (2 letter code)"]
# => ["req_distinguished_name", "countryName_default", "AU"]
# => ["req_di...
...stinguished_name", "countryName_min", "2"]
# => :...