Hi,
In message "Re: [ruby-core:41347] [ruby-trunk - Feature #5678] StringIO#to_str"
on Mon, 28 Nov 2011 11:16:33 +0900, Martin Bosslet <Martin.Bosslet / googlemail.com> 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.
matz.