# File lib/edi4r/edifact.rb, line 1510 def parse (buf) # Buffer contains content of a single CDE return nil unless buf obj_list = EDI::E::edi_split( buf, root.una.ce_sep, root.una.esc_char ) each {|obj| obj.parse( obj_list.shift ) } # FIXME: Error handling needed here if obj_list is not exhausted now! end