Files
ruby/ext/stringio
Hiroshi SHIBATAandClaude Opus 5.5 e1488e6b75 [ruby/stringio] Convert whence to Integer again in StringIO#seek
d3c5e6d compared whence with Fixnums directly, so a Float or an object with `to_int`, which IO#seek and the JRuby version accept, raised Errno::EINVAL.

https://github.com/ruby/stringio/commit/6ecc66a590

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 23:54:42 +00:00
..
2024-03-14 04:30:27 +00: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.