Sha256: a87a3c5add0b7818be23f318860c5341c36784d1f37754b5ad252356c9f260ee
Contents?: true
Size: 419 Bytes
Versions: 16
Compression:
Stored size: 419 Bytes
Contents
module Eancom module Edifact class DocumentElement attr_accessor :segments def initialize @segments = [] end def segment(segment) segments << segment end def to_s(debug: false) stream = "" segments.each do |segment| stream << segment.to_edi stream << "\n" if debug end stream end end end end
Version data entries
16 entries across 16 versions & 1 rubygems