U:RDoc::NormalClass[iI" StringIO:ET@I" Data;To:RDoc::Markup::Document: @parts[o;;[ o:RDoc::Markup::Paragraph;[I"!Pseudo I/O on String object.;To:RDoc::Markup::BlankLineo; ;[I"4Commonly used to simulate `$stdio` or `$stderr`;T@S:RDoc::Markup::Heading: leveli: textI" Examples;T@o:RDoc::Markup::Verbatim;[ I"require 'stringio' ;TI" ;TI"io = StringIO.new ;TI"io.puts "Hello World" ;TI""io.string #=> "Hello World\n";T: @format0: @fileI"ext/stringio/stringio.c;T:0@omit_headings_from_table_of_contents_below0;0;0[[[[I"Enumerable;To;;[;@;0I"ext/stringio/stringio.c;T[I"IO::generic_readable;To;;[;@;0@%[I"IO::generic_writable;To;;[;@;0@%[[I" class;T[[: public[[I"new;T@%[I" open;T@%[:protected[[: private[[I" instance;T[[;[9[I" binmode;T@%[I" bytes;T@%[I" chars;T@%[I" close;T@%[I"close_read;T@%[I"close_write;T@%[I" closed?;T@%[I"closed_read?;T@%[I"closed_write?;T@%[I"codepoints;T@%[I" each;T@%[I"each_byte;T@%[I"each_char;T@%[I"each_codepoint;T@%[I"each_line;T@%[I"eof;T@%[I" eof?;T@%[I"external_encoding;T@%[I" fcntl;T@%[I" fileno;T@%[I" flush;T@%[I" fsync;T@%[I" getbyte;T@%[I" getc;T@%[I" gets;T@%[I"internal_encoding;T@%[I" isatty;T@%[I" length;T@%[I" lineno;T@%[I" lineno=;T@%[I" lines;T@%[I"pid;T@%[I"pos;T@%[I" pos=;T@%[I" putc;T@%[I" read;T@%[I"readlines;T@%[I" reopen;T@%[I" rewind;T@%[I" seek;T@%[I"set_encoding;T@%[I" size;T@%[I" string;T@%[I" string=;T@%[I" sync;T@%[I" sync=;T@%[I" tell;T@%[I" truncate;T@%[I" tty?;T@%[I"ungetbyte;T@%[I" ungetc;T@%[I" write;T@%[;[[;[[[U:RDoc::Context::Section[i0o;;[;0;0[@@cRDoc::TopLevel