Flowdock
read() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rexml/source.rb, line 194
    def read
      begin
        str = @source.readline(@line_break)
        str = decode(str) if @to_utf and str 
        @buffer << str
        if not @to_utf and @buffer.respond_to? :force_encoding
          @buffer.force_encoding Encoding::UTF_8
        end
      rescue Exception, NameError
        @source = nil
      end
    end
Register or log in to add new notes.