From: sto.mar@... Date: 2013-02-02T18:21:06+09:00 Subject: Re: Problem redefining String::to_s Am 02.02.2013 01:07, schrieb Javier 12: > I'm using CentOS, it ships with that version but it's fine. > > I wanted to "intercept" to_s so I can test some variations on my output > but I found it's impossible since "puts" won't call String.to_s > > That's a bit annoying because you expect all objects to behave the same > way. Well, you should not expect that. Why should to_s be sent to an object that already *is* a string??? Maybe you need to change the behaviour of puts (sounds a little scary to me)... --