summaryrefslogtreecommitdiff
path: root/doc/stringio/stringio.md
blob: 345fc5f20707dff82c3476eac55405ee9b6380b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\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"
```