るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.021秒)
トップページ > モジュール:Kernel[x] > クエリ:kernel[x] > クエリ:arg_config[x]

別のキーワード

  1. _builtin arg
  2. etc sc_arg_max
  3. mkmf arg_config
  4. rake arg_names

ライブラリ

検索結果

Kernel#arg_config(config, default) { ... } -> object | String | true | nil (27120.0)

configure オプション --config の値を返します。

...ンに引数が指定されていた場合は指定した文字列を返します。

例えば extconf.rb で arg_config メソッドを使う場合、

$ ruby extconf.rb --foo --bar=baz

と実行したとき、arg_config("--foo") の値は true、
arg_config
("--bar") の値は "baz" です。...