ruby/ext/stringio
Benoit Daloze 1c3088117a [ruby/stringio] Do not compile the C extension on TruffleRuby
* Before this it was compiled but not used, because TruffleRuby has
  a stringio.rb in stdlib and .rb has precedence over .so.
  In fact that extension never worked on TruffleRuby,
  because rb_io_extract_modeenc() has never been defined on TruffleRuby.
* So this just skip compiling the extension since compilation of it now fails:
  https://github.com/ruby/openssl/issues/699

d791b63df6
2023-11-27 12:21:24 +00:00
..
depend Update the depend files 2023-02-28 09:09:00 -08:00
extconf.rb [ruby/stringio] Do not compile the C extension on TruffleRuby 2023-11-27 12:21:24 +00:00
README.md
stringio.c [ruby/stringio] Development of 3.1.0 started. 2023-11-08 07:04:15 +00:00
stringio.gemspec [ruby/stringio] Make STRINGIO_VERSION uniform 2023-11-04 19:28:49 +09:00

StringIO

Pseudo IO class from/to String.

This library is based on MoonWolf version written in Ruby. Thanks a lot.

Differences to IO

  • fileno raises NotImplementedError.
  • encoding conversion is not implemented, and ignored silently.