1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/stringio
naruse 4cb618e7aa merge revision(s) 66760,66761,66824: [Backport #15460]
Follow behaviour of IO#ungetbyte

	see r65802 and [Bug #14359]

	* expand tabs.

	setbyte / ungetbyte allow out-of-range integers

	* string.c: String#setbyte to accept arbitrary integers [Bug #15460]

	* io.c: ditto for IO#ungetbyte

	* ext/strringio/stringio.c: ditto for StringIO#ungetbyte



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-17 21:36:17 +00:00
..
depend ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
extconf.rb handle ext/ as r53141 2015-12-16 05:31:54 +00:00
README.md ext/stringio/README.md: update [ci skip] 2016-06-08 07:47:39 +00:00
stringio.c merge revision(s) 66760,66761,66824: [Backport #15460] 2019-01-17 21:36:17 +00:00
stringio.gemspec Merge stringio.gemspec from github repository. 2018-11-28 02:38:29 +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.