るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.035秒)
トップページ > バージョン:2.3.0[x] > クエリ:Method[x] > クエリ:TrueClass[x]

別のキーワード

  1. irb/input-method gets
  2. _builtin define_method
  3. irb/input-method new
  4. irb/input-method encoding
  5. irb/input-method readable_atfer_eof?

検索結果

JSON::Ext::Generator::GeneratorMethods::TrueClass (63049.0)

Alias of JSON::Generator::GeneratorMethods::TrueClass

Alias of JSON::Generator::GeneratorMethods::TrueClass

JSON::Generator::GeneratorMethods::TrueClass (63049.0)

TrueClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

TrueClass に JSON で使用するインスタンスメソッドを追加するためのモジュールです。

JSON::Generator::GeneratorMethods::TrueClass#to_json(state_or_hash = nil) -> String (18001.0)

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

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

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

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

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

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