From: matz@... (Yukihiro Matsumoto) Date: 2003-02-13T08:01:34+09:00 Subject: Re: class of $1, $2 in 1.8.0 Hi, In message "Re: class of $1, $2 in 1.8.0" on 03/02/13, J.Herre writes: |> How about making user to choose? For example, if "to_str" return |> String, subrange object should be String, whereas "to_str" return the |> receiver subrange object should belong same class as the receiver. | |That would be great. Array#to_ary works the same way? Yes. I should have mentioned. And Hash#to_hash as well. matz.