class EDI::Dir::Named_list
A
simplified Array to represent objects of EDI
classes CDE
, Segment
, and Message
(branches) as lists of their constituting sub-units, augmented by the common properties name
and desc
(description).
Attributes
desc[RW]
name[RW]
Public Class Methods
new()
click to toggle source
# File lib/edi4r/standards.rb, line 72 def initialize @name, @desc, @store = nil, nil, [] end
Public Instance Methods
<<(obj)
click to toggle source
# File lib/edi4r/standards.rb, line 76 def <<(obj) @store << obj end
each( &b )
click to toggle source
# File lib/edi4r/standards.rb, line 80 def each( &b ) @store.each( &b ) end
empty?()
click to toggle source
# File lib/edi4r/standards.rb, line 88 def empty? @store.empty? end
size()
click to toggle source
# File lib/edi4r/standards.rb, line 84 def size @store.size end