mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Change "invokation" to "invocation"
This commit is contained in:
parent
634932ccc7
commit
2eb57cb023
@ -256,7 +256,7 @@ else
|
||||
'else, also optional'
|
||||
end
|
||||
|
||||
# If a condition controls invokation of a single statement rather than a block of code
|
||||
# If a condition controls invocation of a single statement rather than a block of code
|
||||
# you can use postfix-if notation
|
||||
warnings = ['Patronimic is missing', 'Address too short']
|
||||
puts("Some warnings occurred:\n" + warnings.join("\n")) if !warnings.empty?
|
||||
|
Loading…
Reference in New Issue
Block a user