From: Yukihiro Matsumoto Date: 2005-08-08T12:59:59+09:00 Subject: Re: String#to_ary and Test::Unit Hi, In message "Re: String#to_ary and Test::Unit" on Mon, 8 Aug 2005 10:41:08 +0900, "Trans" 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.