るりまサーチ (Ruby 3.2)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.053秒)
トップページ > ライブラリ:irb[x] > バージョン:3.2[x] > クエリ:IRB::Context#inspect_mode[x]

別のキーワード

  1. context new
  2. rdoc/context new
  3. rexml/document context
  4. webrick/ssl ssl_context
  5. context thread

クラス

キーワード

検索結果

IRB::Context#inspect_mode -> object | nil (69022.0)

実行結果の出力方式を返します。

...実行結果の出力方式を返します。

@see IRB::Context#inspect_mode=...

IRB::Context#inspect_mode=(opt) (9004.0)

実行結果の出力方式を opt に設定します。

..., :pretty_inspect
出力結果を pretty_inspect したものを表示します。
: :yaml, :YAML
出力結果を YAML 形式にしたものを表示します。
: :marshal, :Marshal, :MARSHAL, Marshal
出力結果を Marshal.#dump したものを表示します。

@see lib:irb#inspect_mode...

IRB::Context#inspect? -> bool (88.0)

IRB::Context#inspect_mode が有効かどうかを返します。

...
IRB
::Context#inspect_mode が有効かどうかを返します。

@return 出力結果に to_s したものを表示する場合は false を返します。それ
以外の場合は true を返します。

@see IRB::Context#inspect_mode, IRB::Context#inspect_mode=...