From d0a6780d1ec267e382053eae46ccf681f13dd50f Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 27 Oct 2025 16:52:28 +0900 Subject: [ruby/stringio] [DOC] Split the examples `StringIO` into the document file https://github.com/ruby/stringio/commit/04ba28af00 --- doc/stringio/stringio.md | 26 ++++++++++++++++++++++++++ ext/stringio/stringio.c | 28 +--------------------------- 2 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 doc/stringio/stringio.md diff --git a/doc/stringio/stringio.md b/doc/stringio/stringio.md new file mode 100644 index 0000000000..345fc5f207 --- /dev/null +++ b/doc/stringio/stringio.md @@ -0,0 +1,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 = <