2件ヒット
[1-2件を表示]
(0.536秒)
トップページ >
:Kernel.#p
>
:2.5.0
>
:$PROCESS_ID
>
:$INPUT_LINE_NUMBER
>
:fail
>
:for_fd
>
:to_f
> クラス:UncaughtThrowError
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![バージョン バージョン](/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)
![条件を削除 [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
//}...