require 'stringio's = StringIO.news << "A string"s.reads << ", and more."s.rewinds.read # => "A string, and more."