るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.061秒)
トップページ > バージョン:2.7.0[x] > クエリ:String[x] > クエリ:tr[x] > クエリ:with_config[x]

別のキーワード

  1. matrix tr
  2. string tr_s
  3. string tr_s!
  4. string tr!
  5. string tr

ライブラリ

モジュール

検索結果

Kernel#with_config(config, default = nil) -> bool | String (54931.0)

configure のオプションを検査します。

configure のオプションを検査します。

configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。

これはデバッグ情報などのカスタム定義を、追加するのに役立ちます。

@param config configure のオプションの名前を指定します。

@param default デフォルト値を返します。


require 'mkmf'
if with_config("debug")
$defs...

Kernel#with_config(config, default = nil) {|config, default| ... } -> bool | String (54931.0)

configure のオプションを検査します。

configure のオプションを検査します。

configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。

これはデバッグ情報などのカスタム定義を、追加するのに役立ちます。

@param config configure のオプションの名前を指定します。

@param default デフォルト値を返します。


require 'mkmf'
if with_config("debug")
$defs...