зеркало из https://github.com/github/ruby.git
19 строки
361 B
Plaintext
19 строки
361 B
Plaintext
-*- rd -*-
|
|
$Author$
|
|
|
|
=begin
|
|
|
|
= StringIO
|
|
Pseudo (({IO})) class from/to (({String})).
|
|
|
|
This library is based on MoonWolf version written in Ruby. Thanks a lot.
|
|
|
|
= Differences to (({IO}))
|
|
|
|
* not implemented: (({fcntl})), (({reopen})).
|
|
* (({fileno})) returns nil.
|
|
* (({pos=})) returns new position, not 0.
|
|
* (({ungetc})) does nothing at start of the string.
|
|
|
|
=end
|