From: Iain Barnett Date: 2012-06-20T05:12:04+09:00 Subject: Re: Looking for a better way to add a method to a core class than monkey patching On 19 Jun 2012, at 19:01, Bartosz DziewoƄski wrote: > I think there's nothing wrong with monkeypatching (as long as you're > adding methods, not overriding them). > > If you want to be on the extra-safe side, you could just create a > module with the method and have the users of your library actually > include it in String. There should be noticeable performance > difference between the two ways. > > -- Matma Rex > Thanks for the reply. I'll relax a bit now in the knowledge it's not just me. But then maybe it's just us two! :) Regards, Iain