What worked on Ruby 3.x no longer works on Ruby 4.0. It appears Ruby 4 is more strict about percent literals in formatted strings: <img width="1384" height="464" alt="Image" src="https://github.com/user-attachments/assets/49dbb00b-c662-4f1b-989b-aa7a24f6fd7e" />
What worked on Ruby 3.x no longer works on Ruby 4.0. It appears Ruby 4 is more strict about percent literals in formatted strings: