るりまサーチ (Ruby 3.2)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.107秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:e[x] > クエリ:to[x] > ライブラリ:ビルトイン[x] > バージョン:3.2[x] > クラス:UncaughtThrowError[x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. open3 capture2e
  5. matrix rank_e

検索結果

UncaughtThrowError#to_s -> String (27334.0)

self を tag を含む文字列表現にして返します。

...self を tag を含む文字列表現にして返します。

//emlist[例][ruby]{
def do_complicated_things
throw :uncaught_label
end

begin
do_complicated_things
rescue UncaughtThrowError => ex
p ex.to_s # => "uncaught throw :uncaught_label"
end
//}...