The Joy of a Single-Purpose Class: From String Mutation to Message Composition
I can’t remember the last time I had this much joy introducing such a simple class. Started with Ruby 3.4 deprecation warnings, ended with a solution that leverages to_str for implicit string conversion and kills primitive obsession.
Post a comment