るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. fiddle sizeof_ssize_t
  4. fiddle sizeof_size_t
  5. t61string new

ライブラリ

クラス

モジュール

キーワード

検索結果

JSON::State#configure(options = {}) -> self (21250.0)

与えられたハッシュで自身を設定します。

...いては JSON::State.new を参照してください。

@
param options このオブジェクトの設定をするためのハッシュを指定します。

//emlist[例][ruby]{
require
"json"

json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value1", ke...
...y2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"

json_state.configure(indent: " ")
json_state.indent # => " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \"key1\":\"value1\", \"key2\":\"value2\"}"
//}

@
see JSON::State.new...

JSON::State#merge(options = {}) -> self (6150.0)

与えられたハッシュで自身を設定します。

...いては JSON::State.new を参照してください。

@
param options このオブジェクトの設定をするためのハッシュを指定します。

//emlist[例][ruby]{
require
"json"

json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value1", ke...
...y2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"

json_state.configure(indent: " ")
json_state.indent # => " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \"key1\":\"value1\", \"key2\":\"value2\"}"
//}

@
see JSON::State.new...

Kernel#with_config(config, default = nil) -> bool | String (6147.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? "...

Kernel#with_config(config, default = nil) {|config, default| ... } -> bool | String (6147.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? "...

Kernel#dir_config(target, idefault = nil, ldefault = nil) -> [String, String] (147.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 オプションは
システム標準ではない、
ヘッダファイルやライブラリがあるディレクトリをま...
...とめて指定するために使います。
ユーザが extconf.rb に --with-TARGET-dir=PATH を指定したときは
$CFLAGS に "-IPATH/include" を、
$LDFLAGS に "-LPATH/lib" を、
それぞれ追加します。

--with-TARGET-include オプションは
システム標準ではないヘッ...
...extconf.rb に --with-TARGET-include=PATH を指定したときは
$CFLAGS に PATH を追加します。

--with-TARGET-lib オプションは
システム標準ではないライブラリのディレクトリを指定するために使います。
ユーザが extconf.rb に --with-TARGET-lib=PATH...

絞り込み条件を変える

Kernel#enable_config(config, default) -> bool | String (147.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...

Kernel#enable_config(config, default) {|config, default| ... } -> bool | String (147.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...