Flowdock
method

parse

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::MIMEMessage::Part
parse(str) public

No documentation

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

Hide source
# File lib/soap/mimemessage.rb, line 122
    def parse(str)
      headers, body = str.split(/\r\n\r\n/s)
      if headers != nil and body != nil
        @headers = Headers.parse(headers)
        @body = body.sub(/\r\n\z/, '')
      else
        raise RuntimeError.new("unexpected part: #{str.inspect}")
      end
      self
    end
Register or log in to add new notes.