るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.018秒)
トップページ > バージョン:2.4.0[x] > クエリ:io[x] > クエリ:each[x] > クラス:OpenSSL::Config[x] > ライブラリ:openssl[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io each_line
  4. io readlines

検索結果

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

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

...表す文字列、キーを表す文字列、キーに
割り当てられた値の文字列、の3つです。

require 'openssl'
conf = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
conf.each{|section, key, value| p [section, key, value]}
# => ["req_distinguished_name", "countr...