On Mar 8, 9:26 ¨Βν¬ νιλε μεοξαςΌνιλεμεοξ®®®ΐηναιμ®γονχςοτεΊ
> > By the by, I'm not sure redefining a String's #to_s will have any effect. It
> > sounds strange - perhaps you're better off building a class for those
> > objects and defining to_s on that?
>
> Agreed. I'm really wanting to redefine #to_s for a String; it was just
> the first method that I thought of when I was typing up a minimal
> example of what I was trying to do. The important bit was the thing
> with the singleton method. Many thanks for your help.
>
> --Mike

Sorry, that should read I'm *not* really wanting to redefine #to_s for
a String.