るりまサーチ

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

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. rsa d
  4. rsa d=
  5. openssl d

検索結果

<< 1 2 3 > >>

Random#state -> Integer (21102.0)

C言語レベルで定義されている構造体MTの状態を参照します。詳しくはrandom.c を参照してください。

...C言語レベルで定義されている構造体MTの状態を参照します。詳しくはrandom.c を参照してください。...

JSON::State#depth=(depth) (9201.0)

This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.

...This sets the maximum level of data structure nesting in the generated
JSON to the integer depth, max_nesting = 0 if no maximum should be
checked....

JSON::State#indent=(string) (9137.0)

インデントに使用する文字列をセットします。

...quire "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.indent = " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \"key1\"...

JSON::State#indent -> String (9125.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#depth -> Integer (9101.0)

This integer returns the current depth of data structure nesting.

...This integer returns the current depth of data structure nesting....

絞り込み条件を変える

JSON::State#quirks_mode -> bool (9101.0)

Returns true, if quirks mode is enabled. Otherwise returns false.

...Returns true, if quirks mode is enabled. Otherwise returns false....

JSON::State#quirks_mode=(enable) (9101.0)

If set to true, enables the quirks_mode mode.

...If set to true, enables the quirks_mode mode....

JSON::State#quirks_mode? -> bool (9101.0)

Returns true, if quirks mode is enabled. Otherwise returns false.

...Returns true, if quirks mode is enabled. Otherwise returns false....

Observable#changed(state = true) -> bool (6208.0)

更新フラグを立てます。

...を指定された内容へ変更し、変更後の更新フラグの状態を返します。
明示的に引数を指定して、更新フラグを初期化することも出来ます。

@param state 更新フラグを立てる場合はtrueを、初期化する場合はfalseを指定します。...
<< 1 2 3 > >>