55件ヒット
[1-55件を表示]
(0.117秒)
種類
- インスタンスメソッド (44)
- モジュール関数 (11)
ライブラリ
- drb (11)
- json (22)
- mkmf (11)
-
webrick
/ server (11)
クラス
-
JSON
:: State (22) -
WEBrick
:: GenericServer (11)
キーワード
- [] (11)
-
arg
_ config (11) - configure (11)
- merge (11)
検索結果
先頭5件
-
DRb
. # config -> { Symbol => Object } (21301.0) -
カレントサーバの設定を返します。
...カレントサーバの設定を返します。
カレントサーバが存在しない場合は、デフォルトの設定を返します。
@see DRb.#current_server... -
JSON
:: State # configure(options = {}) -> self (15300.0) -
与えられたハッシュで自身を設定します。
...については JSON::State.new を参照してください。
@param options このオブジェクトの設定をするためのハッシュを指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value......1", key2: "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
# arg _ config(config , default) { . . . } -> object | String | true | nil (12548.0) -
configure オプション --config の値を返します。
...
configure オプション --config の値を返します。
@param config オプションを文字列で指定します。
@param default 引数 config で指定したオプションのデフォルト値を指定します。
@return オプションが指定されてた場合は true を、指定......ンに引数が指定されていた場合は指定した文字列を返します。
例えば extconf.rb で arg_config メソッドを使う場合、
$ ruby extconf.rb --foo --bar=baz
と実行したとき、arg_config("--foo") の値は true、
arg_config("--bar") の値は "baz" です。... -
JSON
:: State # merge(options = {}) -> self (12200.0) -
与えられたハッシュで自身を設定します。
...については JSON::State.new を参照してください。
@param options このオブジェクトの設定をするためのハッシュを指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value......1", key2: "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... -
WEBrick
:: GenericServer # [](key) -> object (6216.0) -
self.config[key] と同じです。
...self.config[key] と同じです。...