I've implemented the simplest StringIO#to_io possible: returning self. The actual implementations are mostly taken from IO class.
After I did this, I started looking for an open ticket for it (I was sure it was somewhere in the redmine), but instead I found that this feature has been already rejected 3 (!) times:
I've implemented the simplest
StringIO#to_io
possible: returning self. The actual implementations are mostly taken fromIO
class.After I did this, I started looking for an open ticket for it (I was sure it was somewhere in the redmine), but instead I found that this feature has been already rejected 3 (!) times:
I'm putting it on GH for future reference, with no intention of merging it.