Skip to content

Conversation

pvdb
Copy link
Contributor

@pvdb pvdb commented Oct 1, 2024

... by consistently using the squiggly heredoc syntax (using <<~ instead of <<-) and by fixing the indentation of all multi-line heredoc content accordingly.

Since 704c2f1 (April 2023), rake has been targeting ruby v2.3 (and above), which is the ruby version that introduced @avdi's suggested squiggly heredoc syntax, so there should be no issue with using it throughout the rake codebase.

@hsbt
Copy link
Member

hsbt commented Oct 1, 2024

This change is reasonable and make more readable. Thanks!

@hsbt hsbt merged commit 4538838 into ruby:master Oct 1, 2024
28 checks passed
@pvdb pvdb deleted the refactor_heredocs branch October 1, 2024 08:33
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