On 19 Jun 2012, at 19:01, Bartosz Dziewoski 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,