From: Ross Bamford Date: 2005-12-01T17:47:30+09:00 Subject: Re: require! On Thu, 01 Dec 2005 05:45:53 -0000, wrote: > > On Nov 30, 2005, at 11:32 PM, Trans wrote: >> Hi Ross, actually as Florian recently taught me, *obj works for any >> object with #to_ary defined --if that is what you mean. > > Actually, I think the * operator looks for #to_a not #to_ary. > > Gary Wright > Some quick experiments just now suggest it looks first for to_ary, then to_a. As I say, I was pretty pleased to find it did it at all so I didn't carry on playing with it ... Cheers, -- Ross Bamford - rosco@roscopeco.remove.co.uk