From: Brad Wilson Date: 2005-07-27T00:23:55+09:00 Subject: Re: defining to_s works oddly? ------=_Part_2943_23479942.1122391429631 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline To make a rough guess? So that you can say 'this is my human readable=20 version' (to_s) vs. 'this is how you convert me to a string' (to_str). On 7/26/05, Jacob Fugal wrote: >=20 > On 7/26/05, James Edward Gray II wrote: > > For that, you need the duck typed version of the method, to_str()... >=20 > I'm curious about that... why the two methods, to_s/to_str? I know > it's been discussed before, and I *think* I understood it then, but > I've since forgotten and there are probably others who haven't heard > the explanation before. >=20 > Jacob Fugal >=20 >=20 --=20 Brad Wilson http://www.dotnetdevs.com/ http://www.agileprogrammer.com/dotnetguy/ Peter: "Oh my god, Brian, there's a message in my Alphabits. It says,=20 'Oooooo.' " Brian: "Peter, those are Cheerios." - Family Guy ------=_Part_2943_23479942.1122391429631--