Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concepts/namespaces/about.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction

# Namespaces
## Namespaces

An important method for code organization is the use of namespaces.
Classes and modules provide namespaces.
Expand Down
2 changes: 1 addition & 1 deletion concepts/namespaces/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction

# Namespaces
## Namespaces

An important method for code organization is the use of namespaces.
Classes and modules provide namespaces.
Expand Down
10 changes: 5 additions & 5 deletions exercises/concept/last-will/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -31,17 +31,17 @@ 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.

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)
2 changes: 1 addition & 1 deletion exercises/concept/last-will/.docs/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction

# Namespaces
## Namespaces

An important method for code organization is the use of namespaces.
Classes and modules provide namespaces.
Expand Down
Loading