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!
Edit to add: Actually, now that I think about it, using method_missing would have been even better!
But the edit window had passed by the time I changed it.