From ada26549bbedc1c195f74737482209109794a7fb Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 8 Jun 2016 07:47:39 +0000 Subject: ext/stringio/README.md: update [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/stringio/README | 18 ------------------ ext/stringio/README.md | 10 ++++++++++ 2 files changed, 10 insertions(+), 18 deletions(-) delete mode 100644 ext/stringio/README create mode 100644 ext/stringio/README.md (limited to 'ext') diff --git a/ext/stringio/README b/ext/stringio/README deleted file mode 100644 index d03f37dfd3..0000000000 --- a/ext/stringio/README +++ /dev/null @@ -1,18 +0,0 @@ --*- 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 diff --git a/ext/stringio/README.md b/ext/stringio/README.md new file mode 100644 index 0000000000..94532ed688 --- /dev/null +++ b/ext/stringio/README.md @@ -0,0 +1,10 @@ +# 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. -- cgit v1.2.3