357件ヒット
[1-100件を表示]
(0.031秒)
別のキーワード
ライブラリ
- ビルトイン (36)
- json (24)
- mkmf (60)
- openssl (36)
- optparse (24)
- rbconfig (12)
-
rbconfig
/ sizeof (24) -
webrick
/ config (36) -
webrick
/ httpauth / digestauth (12) -
webrick
/ httpproxy (12) -
webrick
/ httpresponse (12)
クラス
-
JSON
:: State (24) -
OpenSSL
:: Config (12) -
OpenSSL
:: X509 :: ExtensionFactory (12) - OptionParser (24)
-
WEBrick
:: HTTPProxyServer (12) -
WEBrick
:: HTTPResponse (12)
モジュール
- Kernel (96)
- RbConfig (36)
-
WEBrick
:: Config (36)
キーワード
-
$ -I (12) -
$ : (12) -
$ LOAD _ PATH (12) - BasicAuth (12)
- DigestAuth (24)
- FileHandler (12)
- LIMITS (12)
-
MAKEFILE
_ CONFIG (12) - ReFe (12)
- SIZEOF (12)
- config= (12)
- configure (12)
-
default
_ argv= (12) -
dir
_ config (12) - each (12)
-
enable
_ config (24) - environment (12)
- irb (6)
- merge (12)
- mkmf (12)
- new (24)
-
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / lock _ command (12) -
with
_ config (24) - xmlrpc (3)
検索結果
先頭5件
-
OpenSSL
:: Config (18024.0) -
OpenSSL の設定ファイルを表すクラスです。
...ーバルなキーを作ることもできます。
デフォルトの設定ファイルを読み込む例
require 'openssl'
conf = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
p conf.sections # => ["req_distinguished_name", "req_attributes", "proxy_cert_ext", "policy_anything",... -
RbConfig
:: MAKEFILE _ CONFIG -> Hash (9203.0) -
RbConfig::CONFIG と同じですが、その値は以下のような形 で他の変数への参照を含みます。 MAKEFILE_CONFIG["bindir"] = "$(exec_prefix)/bin" これは、Makefile の変数参照の形式で MAKEFILE_CONFIG は、 Makefile 作成の際に利用されることを想定しています。
...RbConfig::CONFIG
と同じですが、その値は以下のような形
で他の変数への参照を含みます。
MAKEFILE_CONFIG["bindir"] = "$(exec_prefix)/bin"
これは、Makefile の変数参照の形式で MAKEFILE_CONFIG は、
Makefile 作成の際に利用されることを想定し......ています。
require 'rbconfig'
print <<-END_OF_MAKEFILE
prefix = #{RbConfig::MAKEFILE_CONFIG['prefix']}
exec_prefix = #{RbConfig::MAKEFILE_CONFIG['exec_prefix']}
bindir = #{RbConfig::MAKEFILE_CONFIG['bindir']}
END_OF_MAKEFILE
=> prefix = /usr/local
exec_prefix = $(prefi......RbConfig.expand
は、このような参照を解決する
メソッドとして rbconfig 内部で利用されています。
(CONFIG 変数は、MAKEFILE_CONFIG の内容から
RbConfig.expand
を使って生成されています)
require 'rbconfig'
p Config.expand(RbConfig::MAKEFILE_CONFIG["... -
Kernel
# enable _ config(config , default) {|config , default| . . . } -> bool | String (6335.0) -
configure のオプションを検査します。
...
configure のオプションを検査します。
configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。
これはデバ......カスタム定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_... -
Kernel
# with _ config(config , default = nil) {|config , default| . . . } -> bool | String (6335.0) -
configure のオプションを検査します。
...
configure のオプションを検査します。
configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。
これはデバッグ情......のカスタム定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL... -
OpenSSL
:: X509 :: ExtensionFactory # config=(config) (6244.0) -
自身にコンフィグファイルオブジェクトを設定します。
...自身にコンフィグファイルオブジェクトを設定します。
例
require 'openssl'
factory.config = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
@param config 設定ファイル(OpenSSL::Config オブジェクト)... -
Kernel
# enable _ config(config , default) -> bool | String (6235.0) -
configure のオプションを検査します。
...
configure のオプションを検査します。
configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。
これはデバ......カスタム定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_... -
Kernel
# with _ config(config , default = nil) -> bool | String (6235.0) -
configure のオプションを検査します。
...
configure のオプションを検査します。
configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。
これはデバッグ情......のカスタム定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL... -
Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] (6113.0) -
configure オプション --with-TARGET-dir, --with-TARGET-include, --with-TARGET-lib をユーザが extconf.rb に指定できるようにします。
...
configure オプション
--with-TARGET-dir,
--with-TARGET-include,
--with-TARGET-lib
をユーザが extconf.rb に指定できるようにします。
--with-TARGET-dir オプションは
システム標準ではない、
ヘッダファイルやライブラリがあるディレクトリをま......ldefault システム標準ではないライブラリのディレクトリのデフォルト値を指定します。
例
require 'mkmf'
# xml2 の configure オプションを指定できるようにします。
xml2_dirs = dir_config('xml2', '/opt/local/include/libxml2', '/opt/local/lib')... -
JSON
:: State # configure(options = {}) -> self (6106.0) -
与えられたハッシュで自身を設定します。
...指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"
json_state.configure(indent: " ")
json_state.indent # =>...