1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-07 23:37:32 +02:00

Add colon to introduce the exception handling section

This commit is contained in:
Levi Bostian
2014-11-11 13:06:57 -06:00
parent 9ddc2d0a5b
commit 1c4cbd279e

View File

@@ -272,7 +272,7 @@ else
end
#=> "OK job"
# exception handling
# exception handling:
begin
# code here that might raise an exception
raise NoMemoryError, 'You ran out of memory.'