1件ヒット
[1-1件を表示]
(0.026秒)
ライブラリ
- ビルトイン (1)
クラス
検索結果
-
UncaughtThrowError
# tag -> object (54421.0) -
Kernel.#throw に指定した tag を返します。
Kernel.#throw に指定した tag を返します。
//emlist[例:][ruby]{
def do_complicated_things
throw :uncaught_label
end
begin
do_complicated_things
rescue UncaughtThrowError => ex
p ex.tag # => ":uncaught_label"
end
//}