зеркало из https://github.com/github/ruby.git
20 строки
369 B
Plaintext
20 строки
369 B
Plaintext
-*- rd -*-
|
|
$Author$
|
|
$Date$
|
|
|
|
=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
|