mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Add colon to introduce the exception handling section
This commit is contained in:
parent
9ddc2d0a5b
commit
1c4cbd279e
@ -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.'
|
||||
|
Loading…
Reference in New Issue
Block a user