Actions
Feature #12519
closedExpansion of modifier_if and modifier_unless
Feature #12519:
Expansion of modifier_if and modifier_unless
Status:
Rejected
Assignee:
-
Target version:
-
Description
Hi all.
I propose a syntax change to allow the below to be valid ruby.
This is an extension of the current modifier_if below which accomplishes the same result.
keeping up with the other condition-statement keyword the below should be valid as well.
And is an extension of
While it's true that ternary syntax accomplishes the same task, I feel that the proposed changes are both more readable and a more natural extension of the language.
Actions