Re:Ruby Is Still a Diamond
by burlesona on Thursday September 02, 2021 @10:47AM
(#28392714)
Supposing you need to do this kind of stuff a lot, one fairly nice workaround is to subclass the base class and then use that subclass when you need added mutative and/or chain able functionality.
The drawback in this case is it's not as concise as just typing in a String literal :)
The drawback in this case is it's not as concise as just typing in a String literal :)