ruby / stringio

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

Print a deprecation warning for chilled strings #92

Closed Earlopain closed 7 months ago

Earlopain commented 7 months ago

https://github.com/ruby/ruby/pull/10262#issuecomment-2015041240

As far as I can tell, since this isn't exposed there is no good way to actually get this information "officially". I'm not very familiar with programming ruby itself and even less familiar with C.

If there is a better way to do this, feel free to take over.

cc @casperisfine