mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 15:13:56 +00:00
Change "invokation" to "invocation"
This commit is contained in:
parent
634932ccc7
commit
2eb57cb023
@ -256,7 +256,7 @@ else
|
|||||||
'else, also optional'
|
'else, also optional'
|
||||||
end
|
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
|
# you can use postfix-if notation
|
||||||
warnings = ['Patronimic is missing', 'Address too short']
|
warnings = ['Patronimic is missing', 'Address too short']
|
||||||
puts("Some warnings occurred:\n" + warnings.join("\n")) if !warnings.empty?
|
puts("Some warnings occurred:\n" + warnings.join("\n")) if !warnings.empty?
|
||||||
|
Loading…
Reference in New Issue
Block a user