From: Brian Mitchell Date: 2006-10-03T05:36:59+09:00 Subject: Re: redefining splat? On 10/2/06, MonkeeSage wrote: > Brian Mitchell wrote: > > class C > > def to_a > > [:to_a] > > end > > end > > > > a = *C.new > > ... > > Looks for #to_ary first, failing that uses #to_a: > > class C > def to_a > [:to_a] > end > def to_ary > [:to_ary] > end > end > > p *C.new > As was my point ;-). There was a reason I reopened the class. Brian.