top | item 18878620 (no title) qyv | 7 years ago 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! discuss order hn newest smitherfield|7 years ago Well of course. I originally linked to this code: https://news.ycombinator.com/item?id=18873581#18878500But the edit window had passed by the time I changed it.
smitherfield|7 years ago Well of course. I originally linked to this code: https://news.ycombinator.com/item?id=18873581#18878500But the edit window had passed by the time I changed it.
smitherfield|7 years ago
But the edit window had passed by the time I changed it.