Skip to content

update block format to match output, and remove trailing white spaces#1751

Merged
kotp merged 1 commit into
exercism:mainfrom
garcha:update_block_format_to_match_output
May 18, 2025
Merged

update block format to match output, and remove trailing white spaces#1751
kotp merged 1 commit into
exercism:mainfrom
garcha:update_block_format_to_match_output

Conversation

@jazzgarcha
Copy link
Copy Markdown
Contributor

@jazzgarcha jazzgarcha commented May 18, 2025

@github-actions
Copy link
Copy Markdown
Contributor

Hello. Thanks for opening a PR on Exercism 🙂

We ask that all changes to Exercism are discussed on our Community Forum before being opened on GitHub. To enforce this, we automatically close all PRs that are submitted. That doesn't mean your PR is rejected but that we want the initial discussion about it to happen on our forum where a wide range of key contributors across the Exercism ecosystem can weigh in.

You can use this link to copy this into a new topic on the forum. If we decide the PR is appropriate, we'll reopen it and continue with it, so please don't delete your local branch.

If you're interested in learning more about this auto-responder, please read this blog post.


Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it.

@github-actions github-actions Bot closed this May 18, 2025
@kotp kotp reopened this May 18, 2025
list = words.map.with_index do |word, index|
"#{index} #{word}"
list = words.map.with_index do |word, index|
"#{index}. #{word}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, such a small detail, but now they will match!

```ruby
words = %w[the cat sat on the mat]
list = words.map.with_index { |word, index| "#{index}: #{word}" }
list = words.map.with_index { |word, index| "#{index}. #{word}" }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same here.

@kotp kotp merged commit e56f874 into exercism:main May 18, 2025
3 of 5 checks passed
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.

3 participants