るりまサーチ

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

別のキーワード

  1. zlib full_flush
  2. rss full_name
  3. entry full_name
  4. task full_comment
  5. rake full_comment

ライブラリ

クラス

キーワード

検索結果

Exception#full_message(highlight: true, order: :bottom) -> String (18119.0)

例外の整形された文字列を返します。

...escue => e
p e.full_message # => "\e[1mTraceback \e[m(most recent call last):\ntest.rb:2:in `<main>': \e[1mtest (\e[4;1mRuntimeError\e[m\e[1m)\n\e[m"
$stderr = $stdout
p e.full_message # => "test.rb:2:in `<main>': test (RuntimeError)\n"
$stderr = STDERR
p e.full_message # => "\e[1mTr...

Exception.to_tty? -> bool (6.0)

$stderr が変更されておらず、$stderr.tty? が真の場合は true を返します。

...$stderr が変更されておらず、$stderr.tty? が真の場合は true を返します。

[注意] 2.5.1 で追加されたメソッドです。

@see Exception#full_message...
...$stderr が変更されておらず、$stderr.tty? が真の場合は true を返します。


@see Exception#full_message...

NEWS for Ruby 2.5.0 (6.0)

NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ました。C拡張のベースクラスでしたが、Rubyレベルに公開するのをやめました。3072

* Exception
* Exception#full_message を追加 14141 [実験的]
例外の文字列表現を取得します。その文字列は捕捉されない例外をRubyが表示して...

NEWS for Ruby 2.6.0 (6.0)

NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ペアを新しいキーと値に変換できるようになりました。 15143

* Exception
* 新規オプション
* Exception#full_message が :highlight と :order を受け付けるようになりました。 14324

* Hash
* 変更されたメソッド
* Hash#merge, Ha...