mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
386 B
386 B
\IO streams for strings, with access similar to {IO}[rdoc-ref:IO]; see {IO}[rdoc-ref:IO].
About the Examples
Examples on this page assume that \StringIO has been required:
require 'stringio'
And that these constants have been defined:
TEXT = <<EOT
First line
Second line
Fourth line
Fifth line
EOT
RUSSIAN = 'тест'
DATA = "\u9990\u9991\u9992\u9993\u9994"