lib/edi4r.rb
def empty?
      empty = true
      each {|obj| empty &= obj.empty? } # DE or CDE
      empty
    end
# Returns +true+ if all contained elements are empty.
Returns +true+ if all contained elements are empty.
Returns + true + if all contained elements are empty .
def empty?
      empty = true
      each {|obj| empty &= obj.empty? } 
      empty
    end
def empty? empty = true each { | obj | empty &= obj . empty? } empty end
Returns +true+ if all contained elements are empty.
Returns + true + if all contained elements are empty .
# DE or CDE