Skip to content

Last Will exercise + namespaces#1832

Open
VaiaPatta1985 wants to merge 25 commits into
exercism:mainfrom
VaiaPatta1985:last_will
Open

Last Will exercise + namespaces#1832
VaiaPatta1985 wants to merge 25 commits into
exercism:mainfrom
VaiaPatta1985:last_will

Conversation

@VaiaPatta1985
Copy link
Copy Markdown
Contributor

Adapted the Last Will exercise from the C++ track and added it to the Ruby learning track, together with the concept of namespaces.

The tests for these two learning exercises now check whether the expected exception has been defined inside or outside the main class. Solves issue #6772
The tests for these two learning exercises now check whether the expected exception has been defined inside or outside the main class. Solves issue #6772
@github-actions github-actions Bot closed this May 13, 2026
@kotp kotp reopened this May 13, 2026
@exercism exercism deleted a comment from github-actions Bot May 13, 2026
@exercism exercism deleted a comment from github-actions Bot May 13, 2026
Copy link
Copy Markdown
Member

@kotp kotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure consistent formatting of the code and the code snippets.

Inspect the reasons for the failing CI tasks/checks.

Comment thread exercises/concept/last-will/.docs/introduction.md
Comment thread exercises/concept/last-will/.docs/introduction.md
Comment thread exercises/concept/last-will/.meta/exemplar.rb
Comment thread exercises/concept/last-will/.meta/exemplar.rb
Comment thread exercises/concept/moviegoer/moviegoer_test.rb Outdated
@VaiaPatta1985
Copy link
Copy Markdown
Contributor Author

@kotp what do I use for uuid? I need it in two places in config.json (for the new exercise and for the new concept).

@kotp
Copy link
Copy Markdown
Member

kotp commented May 14, 2026

@kotp what do I use for uuid? I need it in two places in config.json (for the new exercise and for the new concept).

You can use the confliglet tool in bin/. Specifically as stated in the tools --help documentation:

bin/configlet uuid

Of course, you can use any tool that generates Version 4 UUID's.

@VaiaPatta1985
Copy link
Copy Markdown
Contributor Author

@kotp what do I use for uuid? I need it in two places in config.json (for the new exercise and for the new concept).

You can use the confliglet tool in bin/. Specifically as stated in the tools --help documentation:

bin/configlet uuid

Of course, you can use any tool that generates Version 4 UUID's.

@kotp thanks! Where can I find the documentation you mention? I'm pretty sure I've looked through the documents in the repo and didn't see anything about generating UUIDs.

@kotp
Copy link
Copy Markdown
Member

kotp commented May 14, 2026

Of course, you can use any tool that generates Version 4 UUID's.

@kotp thanks! Where can I find the documentation you mention? I'm pretty sure I've looked through the documents in the repo and didn't see anything about generating UUIDs.

Start here, and then it is the first thing under configlet.

Also, just want to mention bin/configlet --help for some guidance what it is set up to provide, as well as updating it with bin/fetch-configlet

Comment thread concepts/namespaces/about.md Outdated
Comment thread concepts/namespaces/links.json Outdated
Comment thread exercises/concept/last-will/.docs/instructions.md Outdated
Comment thread exercises/concept/last-will/.docs/hints.md Outdated
Comment thread exercises/concept/last-will/.docs/hints.md Outdated
Comment thread exercises/concept/last-will/.docs/hints.md Outdated
Comment thread exercises/concept/last-will/.meta/design.md Outdated
Copy link
Copy Markdown
Member

@kotp kotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking pretty good to me. I think this will come in unless anyone else has some corrections or concerns.

Comment thread exercises/concept/last-will/.meta/exemplar.rb Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants