るりまサーチ

最速Rubyリファレンスマニュアル検索!
438件ヒット [101-200件を表示] (0.165秒)

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

検索結果

<< < 1 2 3 4 ... > >>

JSON::Generator::GeneratorMethods::String#to_json_raw -> String (12101.0)

自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。

...自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。

@see JSON::Generator::GeneratorMethods::String#to_json_raw_object, JSON::Generator::GeneratorMethods::Hash#to_json...

JSON::Generator::GeneratorMethods::String#to_json_raw_object -> Hash (12101.0)

生の文字列を格納したハッシュを生成します。

...する場合に使用してください。

require 'json'
"にほんご".encode("euc-jp").to_json_raw_object
# => {"json_class"=>"String", "raw"=>[164, 203, 164, 219, 164, 243, 164, 180]}
"にほんご".encode("euc-jp").to_json # source sequence is illegal/malformed (JSON::GeneratorError)...

Delegator#protected_methods(all = true) -> [Symbol] (9208.0)

そのオブジェクトが理解できる protected メソッド名の一覧を返します。

...そのオブジェクトが理解できる protected メソッド名の一覧を返します。

@param all 偽を指定すると __getobj__ のスーパークラスで定義されたメソッドを除きます。

@see Object#protected_methods...

Delegator#public_methods(all = true) -> [Symbol] (9208.0)

そのオブジェクトが理解できる public メソッド名の一覧を返します。

...そのオブジェクトが理解できる public メソッド名の一覧を返します。

@param all 偽を指定すると __getobj__ のスーパークラスで定義されたメソッドを除きます。

@see Object#public_methods...

RDoc::Stats#num_methods=(val) (9202.0)

解析したメソッドの数を指定します。

...解析したメソッドの数を指定します。

@param val 数値を指定します。...

絞り込み条件を変える

RDoc::Stats#num_methods -> Integer (9102.0)

解析したメソッドの数を返します。

解析したメソッドの数を返します。

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

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

...SON 形式の文字列を返します。

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

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

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

...返します。

"false" という文字列を返します。

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

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

false.to_json # => "false"
//}...

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

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

...SON 形式の文字列を返します。

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

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

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