mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
commit
20f5a00de4
@ -201,7 +201,7 @@ cond do
|
|||||||
end
|
end
|
||||||
|
|
||||||
# `try/catch` is used to catch values that are thrown, it also supports an
|
# `try/catch` is used to catch values that are thrown, it also supports an
|
||||||
# `after` clause that is invoked whether or not a value is catched.
|
# `after` clause that is invoked whether or not a value is caught.
|
||||||
try do
|
try do
|
||||||
throw(:hello)
|
throw(:hello)
|
||||||
catch
|
catch
|
||||||
|
Loading…
Reference in New Issue
Block a user