From: "David A. Black" Date: 2005-12-01T20:50:54+09:00 Subject: Re: require! --8323328-248990591-1133437847=:698 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-248990591-1133437847=:698" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-248990591-1133437847=:698 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Hi -- On Thu, 1 Dec 2005, Lionel Thiry wrote: > Trans a =E9crit : >> Hi Ross, actually as Florian recently taught me, *obj works for any >> object with #to_ary defined --if that is what you mean. >> >> T. >> > > AFAIK may change in ruby2. As Gary says it's actually to_a, not to_ary -- and I think it will probably still work in 2.x, because Enumerable#to_a is explicitly defined (not the soon-to-disappear default to_a for all objects). David --=20 David A. Black dblack@wobblini.net --8323328-248990591-1133437847=:698-- --8323328-248990591-1133437847=:698--