Skip to content

Reword the empty strings in interpolation guideline - #987

Merged
bbatsov merged 1 commit into
masterfrom
reword-empty-strings-in-interpolation
Oct 30, 2026
Merged

bbatsov merged 1 commit into
masterfrom
reword-empty-strings-in-interpolation

Conversation

@bbatsov

@bbatsov bbatsov commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #952, which said "assign" where it meant "return". Also adds the unless case, which Style/EmptyStringInsideInterpolation flags too.

It said "assign" where it meant "return", and didn't say why the
modifier form works. Also show the unless case, which
Style/EmptyStringInsideInterpolation flags too.
@bbatsov
bbatsov merged commit c5b1207 into master Oct 30, 2026
2 checks passed
@bbatsov
bbatsov deleted the reword-empty-strings-in-interpolation branch October 30, 2026 13:43
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.

1 participant