From: Nikolai Weibull Date: 2011-11-28T18:57:53+09:00 Subject: [ruby-core:41355] Re: [ruby-trunk - Feature #5678] StringIO#to_str On Mon, Nov 28, 2011 at 07:16, Yukihiro Matsumoto wrote: > In message "Re: [ruby-core:41347] [ruby-trunk - Feature #5678] StringIO#to_str" > �� ��on Mon, 28 Nov 2011 11:16:33 +0900, Martin Bosslet writes: > > |Do you see any negative aspects when adding StringIO#to_str? > Yes, to_str should be implemented for objects that have (almost) same > method signature as strings, which is not true for StringIO. How about implementing #to_s instead?