News for hackers. Stuff that matters.
Re:Ruby 3.4.0 by mdaniel on Thursday December 26, 2024 @03:12PM (#42517432)
There was a recent thread about parsing Ruby wherein I learned that the % quoting character accepts any character following it as the opening/closing delimiter <https://news.ycombinator.com/item?id=42032212> Crazypants.
Re:Ruby 3.4.0 by codesnik on Thursday December 26, 2024 @09:41PM (#42519528)
yeah, you can combine it with % formatting operator to do stuff like `% %% % %%%`