From: Yusuke ENDOH Date: 2010-03-13T00:03:26+09:00 Subject: [ruby-core:28631] Re: [Bug #1893] Recursive Enumerable#join is surprising Hi, 2010/3/12 Yukihiro Matsumoto : > |Then, how about: > | - Array#join will flatten only Array-like object via #to_ary > | - Enumerable#join will flatten any Enumerable object via #each > | > > In that case, the "surprise" of OP would not be fixed. I agree with > the OP (Jeremy Kemper) here. Enumerable#join should not flatten > Enumerable. Wow! Very sorry! I thought that Struct just provided to_a. I did never know that it included Enumerable. It is very "surprising" itself for me, but it is traditionally the fact. I have no idea to solve the issue satisfactorily. I leave it to you. -- Yusuke ENDOH