るりまサーチ (Ruby 2.5.0)

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

別のキーワード

  1. psych psych_y
  2. psych y
  3. kernel y
  4. kernel psych_y
  5. y psych

クラス

検索結果

OpenSSL::Config#each {|section, key, value| ... } -> self (54646.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", "cou...