# File lib/soap/mimemessage.rb, line 133 133: def contentid 134: if @contentid == nil and @headers.key?('content-id') 135: @contentid = @headers['content-id'].str 136: @contentid = $1 if @contentid =~ /^<(.+)>$/ 137: end 138: @contentid 139: end
# File lib/soap/mimemessage.rb, line 122 122: def parse(str) 123: headers, body = str.split(/\r\n\r\n/, 2) 124: if headers != nil and body != nil 125: @headers = Headers.parse(headers) 126: @body = body.sub(/\r\n\z/, '') 127: else 128: raise RuntimeError.new("unexpected part: #{str.inspect}") 129: end 130: self 131: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.