Write character literals as strings
MSALIn Ruby 1.9 and later, characters are simply strings of length 1. That is, the literal ?A is the same as the literal 'A', and there is really no need for the character literal syntax in new code.
org. openrewrite. ruby. migrate. CharacterLiteralToStringmod run . --recipe= org. openrewrite. ruby. migrate. CharacterLiteralToStringInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.