るりまサーチ

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

別のキーワード

  1. _builtin at
  2. _builtin values_at
  3. time at
  4. dbm values_at
  5. csv values_at

検索結果

<< 1 2 3 ... > >>

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

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

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

Random#state -> Integer (24202.0)

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

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

JSON::State#generate(obj) -> String (12101.0)

Generates a valid JSON document from object obj and returns the result. If no valid JSON document can be created this method raises a GeneratorError exception.

...Generates a valid JSON document from object obj and returns the
result. If no valid JSON document can be created this method raises a
GeneratorError exception....

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

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

...成した JSON 形式の文字列を返します。

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

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

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

...成した JSON 形式の文字列を返します。

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

絞り込み条件を変える

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

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

...

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

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

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

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

...成した JSON 形式の文字列を返します。

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

JSON::Generator::GeneratorMethods::Integer#to_json(state_or_hash = nil) -> String (6220.0)

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

...成した JSON 形式の文字列を返します。

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

JSON::Generator::GeneratorMethods::NilClass#to_json(state_or_hash = nil) -> String (6220.0)

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

...す。

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

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

JSON::Generator::GeneratorMethods::Object#to_json(state_or_hash = nil) -> String (6220.0)

自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。

...ォールバックのためのメソッドです。

@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
...
...ruby]{
require "json"

class Person
at
tr :name, :age

def initialize(name, age)
@name, @age = name, age
end
end

tanaka = Person.new("tanaka", 29)

tanaka.to_json # => "\"#<Person:0x00007ffdec0167c8>\""
tanaka.method(:to_json).owner # => JSON::Ext::Generator::GeneratorMethods::Object
//}...

絞り込み条件を変える

<< 1 2 3 ... > >>