I'm thinking of submitting a RCR. Here is the draft. Comments are welcome.
RCR title: An enhanced case..when..else..end syntax
This RCR involves (check all that apply):
... a new feature x
... a syntax change x
... refactoring only
... backwards incompatibility
This RCR proposes an enhanced case..when..else..end syntax.
It's a very common task to group code based on a combination of values of
multiple variables. However, the current Ruby syntax only allows one
expression/variable being used in "case" clause. People have to use
if..else..end which requires more typing and is less intuitive.