From 6f6cc94023b95d571de685d7c4d75ac9b54876c2 Mon Sep 17 00:00:00 2001 From: Glenn Jackman Date: Thu, 24 Sep 2026 08:31:09 -0400 Subject: [PATCH] Fix Last Will docs: only 1 H1 per file --- concepts/namespaces/about.md | 2 +- concepts/namespaces/introduction.md | 2 +- exercises/concept/last-will/.docs/instructions.md | 10 +++++----- exercises/concept/last-will/.docs/introduction.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/concepts/namespaces/about.md b/concepts/namespaces/about.md index 7037f6380f..0a8dac5894 100755 --- a/concepts/namespaces/about.md +++ b/concepts/namespaces/about.md @@ -1,6 +1,6 @@ # Introduction -# Namespaces +## Namespaces An important method for code organization is the use of namespaces. Classes and modules provide namespaces. diff --git a/concepts/namespaces/introduction.md b/concepts/namespaces/introduction.md index 7037f6380f..0a8dac5894 100755 --- a/concepts/namespaces/introduction.md +++ b/concepts/namespaces/introduction.md @@ -1,6 +1,6 @@ # Introduction -# Namespaces +## Namespaces An important method for code organization is the use of namespaces. Classes and modules provide namespaces. diff --git a/exercises/concept/last-will/.docs/instructions.md b/exercises/concept/last-will/.docs/instructions.md index ef5339f266..0b40137dad 100644 --- a/exercises/concept/last-will/.docs/instructions.md +++ b/exercises/concept/last-will/.docs/instructions.md @@ -9,7 +9,7 @@ To prevent any family from opening the vault alone, it can only be opened by com You have three tasks, all related to helping the families to open the vault. -# 1. Take your seat in front of the families and lay out your papers +## 1. Take your seat in front of the families and lay out your papers Define a namespace called `EstateExecutor`. The code from the next tasks should be defined in the body of the `EstateExecutor` namespace. @@ -22,7 +22,7 @@ class SomeName end ``` -# 2. Find the secret account number +## 2. Find the secret account number This is your big moment. Only you have the secret modifier key to reveal the secret account number. @@ -31,7 +31,7 @@ Define the `assemble_account_number(secret_modifier)` method that takes the `Int To get the correct number, you have to sum up the `bank_number_part` from each of the three families. -# 3. Last step: Enter the secret code +## 3. Last step: Enter the secret code The instructions in the testament ask you to add all the blue and then all the red fragments. The resulting code is obtained by multiplying both sums. @@ -39,9 +39,9 @@ The resulting code is obtained by multiplying both sums. Define the `assemble_code` method that returns the resulting code by combining the fragments from the three families to a single `Integer` result. The method does not have any arguments and relies solely on the information in the relevant namespaces from the families. -# Source +## Source -## Created by +Created by - @vaeng (original C++ exercise) - @vaiapatta1985 (transcription to Ruby) diff --git a/exercises/concept/last-will/.docs/introduction.md b/exercises/concept/last-will/.docs/introduction.md index 7037f6380f..0a8dac5894 100755 --- a/exercises/concept/last-will/.docs/introduction.md +++ b/exercises/concept/last-will/.docs/introduction.md @@ -1,6 +1,6 @@ # Introduction -# Namespaces +## Namespaces An important method for code organization is the use of namespaces. Classes and modules provide namespaces.