From: "David A. Black" Date: 2005-12-01T21:20:02+09:00 Subject: Re: require! --8323328-60981128-1133439596=:28748 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-60981128-1133439596=:28748" 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-60981128-1133439596=:28748 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Hi -- On Thu, 1 Dec 2005, Lionel Thiry wrote: > David A. Black a =C3=A9crit : >> Hi -- >> >> On Thu, 1 Dec 2005, Lionel Thiry wrote: >> >>> Trans a =EF=BF=BDcrit : >>> >>>> 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 >> > > Mmm, I remember Matz wonders about possible changes in the way the array > expansion operator * could work. He wonders if he should differentiate > array [a,b,c] and list a,b,c or not. Until decided, I keep in mind that > the way *args works may change in ruby2. Oh, *that* change :-) I forgot about that. David --=20 David A. Black dblack@wobblini.net --8323328-60981128-1133439596=:28748-- --8323328-60981128-1133439596=:28748--