るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.054秒)

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file open
  4. file chmod
  5. file path

ライブラリ

キーワード

検索結果

Rake::MakefileLoader#load(filename) (72643.0)

与えられた Makefile をロードします。

与えられた Makefile をロードします。

@param filename 読み込む Makefile の名前を指定します。

//emlist[][ruby]{
# Rakefile での記載例とする
require "rake/loaders/makefile"

task default: :test_rake_app

open "sample.mf", "w" do |io|
io << <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
b: b1 b2 b3 \
b4 b5 b6\
# Mid: Comment
b7
a : a5...

OpenSSL::Config#each {|section, key, value| ... } -> self (9040.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", "countryName", "Country Name...

OpenSSL::X509::ExtensionFactory#config=(config) (9040.0)

自身にコンフィグファイルオブジェクトを設定します。

自身にコンフィグファイルオブジェクトを設定します。


require 'openssl'
factory.config = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)

@param config 設定ファイル(OpenSSL::Config オブジェクト)