News for hackers. Stuff that matters.
Re:Happy Birthday, Ruby by qyv on Thursday January 10, 2019 @04:50PM (#18878620)
IMO monkey-patching built-in classes is idiomatic Ruby!

Edit to add: Actually, now that I think about it, using method_missing would have been even better!

Re:Happy Birthday, Ruby by smitherfield on Thursday January 10, 2019 @05:15PM (#18878823)
Well of course. I originally linked to this code: https://news.ycombinator.com/item?id=18873581#18878500

But the edit window had passed by the time I changed it.