2件ヒット
[1-2件を表示]
(0.512秒)
トップページ >
:2.6.0
>
:Kernel.#p
>
:JSON
>
:cp
>
:with_werror
>
:SCRIPT_LINES__
>
:add_filter
> クラス:UncaughtThrowError
![バージョン バージョン](/images/version-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
検索結果
-
UncaughtThrowError
# tag -> object (70.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
//}... -
UncaughtThrowError
# value -> object (70.0) -
Kernel.#throw に指定した value を返します。
...Kernel.#throw に指定した value を返します。
//emlist[例][ruby]{
def do_complicated_things
throw :uncaught_label, "uncaught_value"
end
begin
do_complicated_things
rescue UncaughtThrowError => ex
p ex.value # => "uncaught_value"
end
//}...