るりまサーチ

最速Rubyリファレンスマニュアル検索!
1001件ヒット [1-100件を表示] (0.144秒)
トップページ > クエリ:t[x] > クエリ:state[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_ssize_t

ライブラリ

検索結果

<< 1 2 3 ... > >>

JSON.state -> JSON::Ext::Generator::State (24414.0)

JSON ライブラリがジェネレータの状態を表すクラスとして使用するクラスを返します。

...JSON ライブラリがジェネレータの状態を表すクラスとして使用するクラスを返します。

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

JSON.state # => JSON::Ext::Generator::State
//}...

OpenSSL::SSL::SSLSocket#state -> String (24201.0)

現在の状態をアルファベット 6 文字の文字列で返します。

現在の状態をアルファベット 6 文字の文字列で返します。

Random#state -> Integer (24201.0)

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

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

Random.state -> Integer (24201.0)

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

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

JSON::State.from_state(options) -> JSON::State (18550.0)

与えられた options によって生成した JSON::State のインスタンスを返します。

...えられた options によって生成した JSON::State のインスタンスを返します。

@param options JSON::State のインスタンスか、ハッシュを指定します。

@return options がハッシュである場合は、それによって初期化した JSON::State...
...。options が JSON::State のインスタンスである場合は単に
options を返します。いずれでも無い場合は、何も設定されていない JSON::State
インスタンスを返します。

//emlist[例 Hash を指定][ruby]{
require "json"

json_state = JS...
...:State.from_state(indent: "\t")
json_state.class # => JSON::Ext::Generator::State
json_state.indent # => "\t"
//}

//emlist[例 JSON::State を指定][ruby]{
require "json"

json_state = JSON::State.from_state(indent: "\t")
# JSON を出力する何らかの処理を実行する
copy = JSON::State....

絞り込み条件を変える

JSON::Generator::GeneratorMethods::Array#to_json(state_or_hash = nil) -> String (12219.0)

自身から生成した JSON 形式の文字列を返します。

...ます。

@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。

//emlist[例][ruby]{
requir...
...e "json"

[1, 2, 3].to_json # => "[1,2,3]"
//}...

JSON::Generator::GeneratorMethods::FalseClass#to_json(state_or_hash = nil) -> String (12219.0)

自身から生成した JSON 形式の文字列を返します。

... state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。

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

false.t...

JSON::Generator::GeneratorMethods::Float#to_json(state_or_hash = nil) -> String (12219.0)

自身から生成した JSON 形式の文字列を返します。

... state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。

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

(1.0).t...

JSON::Generator::GeneratorMethods::Hash#to_json(state_or_hash = nil) -> String (12219.0)

自身から生成した JSON 形式の文字列を返します。

...ます。

@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。

//emlist[例][ruby]{
requir...
...e "json"

person = { "name" => "tanaka", "age" => 19 }
person.to_json # => "{\"name\":\"tanaka\",\"age\":19}"
//}...
<< 1 2 3 ... > >>