# Table of Contents - stringio: Ruby Standard Library Documentation

## Classes and Modules

- IO
- IO::generic_readable
- IO::generic_writable
- StringIO
  - About the Examples

## Methods

- ::new — StringIO
- ::open — StringIO
- #<< — IO::generic_writable
- #binmode — StringIO
- #close — StringIO
- #close_read — StringIO
- #close_write — StringIO
- #closed? — StringIO
- #closed_read? — StringIO
- #closed_write? — StringIO
- #each — StringIO
- #each_byte — StringIO
- #each_char — StringIO
- #each_codepoint — StringIO
- #each_line — StringIO
- #eof — StringIO
- #eof? — StringIO
- #external_encoding — StringIO
- #fcntl — StringIO
- #fileno — StringIO
- #flush — StringIO
- #fsync — StringIO
- #getbyte — StringIO
- #getc — StringIO
- #gets — StringIO
- #internal_encoding — StringIO
- #isatty — StringIO
- #length — StringIO
- #lineno — StringIO
- #lineno= — StringIO
- #pid — StringIO
- #pos — StringIO
- #pos= — StringIO
- #pread — StringIO
- #print — IO::generic_writable
- #printf — IO::generic_writable
- #putc — StringIO
- #puts — IO::generic_writable
- #read — StringIO
- #read_nonblock — IO::generic_readable
- #readbyte — IO::generic_readable
- #readchar — IO::generic_readable
- #readline — IO::generic_readable
- #readlines — StringIO
- #readpartial — IO::generic_readable
- #reopen — StringIO
- #rewind — StringIO
- #seek — StringIO
- #set_encoding — StringIO
- #set_encoding_by_bom — StringIO
- #size — StringIO
- #string — StringIO
- #string= — StringIO
- #sync — StringIO
- #sync= — StringIO
- #sysread — IO::generic_readable
- #syswrite — IO::generic_writable
- #tell — StringIO
- #truncate — StringIO
- #tty? — StringIO
- #ungetbyte — StringIO
- #ungetc — StringIO
- #write — StringIO
- #write_nonblock — IO::generic_writable