On Jan 23, 2004, at 11:19 PM, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Why is to_a going to be obsolete?" > on 04/01/24, "T. Onoma" <transami / runbox.com> writes: > > |If x.to_a is going > |away, to be exchanged for the use of [*x], will to_h also follow and > be > |replaced by [**x]? > > Try Array(x). > But should it not be up to 'x' to decide how it should be represented as an Array? What would I do in a class I define to give it a way to represent itself as an Array using this? Dan