Flowdock
method

parse

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: XMLRPCParser
parse(str) public

No documentation

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

Hide source
# File lib/xmlrpc/parser.rb, line 597
        def parse(str)
          parser = NQXML::StreamingParser.new(str)
          parser.each do |ele|
            case ele
            when NQXML::Text
              @data = ele.text
              #character(ele.text)
            when NQXML::Tag
              if ele.isTagEnd
                endElement(ele.name)
              else
                startElement(ele.name, ele.attrs)
              end
            end
          end # do
        end
Register or log in to add new notes.