From: Simon Strandgaard Date: 2004-02-27T22:44:52+09:00 Subject: Re: Enumerable#zip(aRange) does not work ? On Fri, 27 Feb 2004 22:38:36 +0900, Emmanuel Touzery wrote: > Simon Strandgaard wrote: >>Why isn't usage of 'to_a' and 'to_ary' consistent? >> [snip] > to_a is for manual conversion, that you call yourself (explicit conversion) > to_ary is called automatically by the runtime if necessary (implicit > conversion). > > it's the same for to_s and to_str. > I wasn't aware of this convention. Is there any documents where I can read more about this? -- Simon Strandgaard