From: James Edward Gray II Date: 2006-01-13T00:59:50+09:00 Subject: Re: how can I give a name to an anonymous class On Jan 12, 2006, at 9:47 AM, ara.t.howard@noaa.gov wrote: > On Fri, 13 Jan 2006, James Edward Gray II wrote: > >> On Jan 12, 2006, at 9:06 AM, ara.t.howard@noaa.gov wrote: >> >>> it's why i __always__ use >>> "#{ obj }" # no useless after all >> >> As far as I know, thats always equivalent to obj.to_s, which I >> think is better looking: > > ya know - you are right. for some reason i seemed to remember the > default > to_s going away with the default to_a - it seems it did not. Even if it did, "#{...}" doesn't call to_str(). ;) James Edward Gray II