Method: Svn::Stream#read_all
- Defined in:
- lib/svn/streams.rb
#read_all ⇒ Object Also known as: to_s
reads the stream contents into a String object
118 119 120 121 122 123 124 |
# File 'lib/svn/streams.rb', line 118 def read_all content = String.new while bytes = read and !bytes.empty? content << bytes end content end |