Hi,

In message "Re: String#to_ary and Test::Unit"
    on Mon, 8 Aug 2005 10:41:08 +0900, "Trans" <transfire / gmail.com> writes:

|In Facets I offer:
|
|  class String
|    def to_ary
|      self.split(//)
|    end
|  end

I don't think providing to_ary for objects which are not really
arrays.  In this case, puts recurse for objects with to_ary, then each
array returned from to_ary contains objects with to_ary (strings),
then infinite recursion.

							matz.