From e703dc6906d7808b65f21a3619ee2fd5e19fbff6 Mon Sep 17 00:00:00 2001 From: Orest Ivasiv Date: Mon, 23 Dec 2024 00:28:15 +0100 Subject: [PATCH] upd 2024-12-22-paradox-of-choice.md --- docs/blog/2024/2024-12-22-paradox-of-choice.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/blog/2024/2024-12-22-paradox-of-choice.md b/docs/blog/2024/2024-12-22-paradox-of-choice.md index f16c32d..69508ac 100644 --- a/docs/blog/2024/2024-12-22-paradox-of-choice.md +++ b/docs/blog/2024/2024-12-22-paradox-of-choice.md @@ -144,7 +144,7 @@ Using this syntax we tell Ruby that we want the keys to be symbols. { one: "eins", two: "zwei", three: "drei" } ``` -## Conditional Statements `if` vs `unless` +### Conditional Statements `if` vs `unless` Executes code if the condition is `false`. @@ -160,7 +160,7 @@ end puts "x is negative" unless x >= 0 ``` -## Loops +### Loops #### `loop`