From: Jeremy Kemper Date: 2006-10-03T03:42:42+09:00 Subject: Re: redefining splat? ------=_Part_18168_11405681.1159814558634 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/2/06, Adam Shelly wrote: > > but that gives a syntax error. Is there any way to redefine the splat > for my class? Or at least to make my class act like an array when the > splat is applied? You can define to_ary which splat uses. In Ruby 1.9 you can define to_splat directly. jeremy ------=_Part_18168_11405681.1159814558634--