1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 01:34:19 +02:00

Merge pull request #3836 from bartonstanley/patch-1

[ruby/en] Change "invokation" to "invocation"
This commit is contained in:
Max Schumacher
2020-01-31 20:09:24 +01:00
committed by GitHub

View File

@@ -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?