1件ヒット
[1-1件を表示]
(0.030秒)
クラス
検索結果
-
UncaughtThrowError
# to _ s -> String (54364.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
//}