From: Javier 12 Date: 2013-02-02T21:06:36+09:00 Subject: Re: Problem redefining String::to_s unknown wrote in post #1094871: > 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)... because you're told that puts will call to_s in the object you try to print, and it's expected that all objects work the same way, that's all it was an interesting find, and I have to rely on a custom String class because of that -- Posted via http://www.ruby-forum.com/.