ruby / stringio

Pseudo `IO` class from/to `String`.
BSD 2-Clause "Simplified" License
36 stars 26 forks source link

PoC of simple StringIO#to_io #40

Closed mrzasa closed 1 year ago

mrzasa commented 1 year ago

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'm putting it on GH for future reference, with no intention of merging it.