36件ヒット
[1-36件を表示]
(0.094秒)
ライブラリ
- openssl (24)
-
rake
/ loaders / makefile (12)
クラス
-
OpenSSL
:: Config (12) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
Rake
:: MakefileLoader (12)
検索結果
先頭3件
-
Rake
:: MakefileLoader # load(filename) (24214.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'
# Commen......a6 a7
c: c1
d: d1 d2 \
e f : e1 f1
g\ 0: g1 g\ 2 g\ 3 g4
SAMPLE_MF
end
task :test_rake_app do |task|
loader = Rake::MakefileLoader.new
loader.load("sample.mf")
p Rake::Task.task_defined?("a") # => true
p Rake::Task.tasks[0] # => <Rake::FileTask a => [a1, a2, a3, a4, a5, a6, a7]>
end
//}... -
OpenSSL
:: Config # each {|section , key , value| . . . } -> self (3013.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", "Cou... -
OpenSSL
:: X509 :: ExtensionFactory # config=(config) (3013.0) -
自身にコンフィグファイルオブジェクトを設定します。
...自身にコンフィグファイルオブジェクトを設定します。
例
require 'openssl'
factory.config = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
@param config 設定ファイル(OpenSSL::Config オブジェクト)...