class EDI::Object

Basic (abstract) class: Makes sure that all derived EDI objects have at least following attributes:

parent

Reference to parent EDI object (a Collection)

root

Reference to root EDI object (typically an Interchange)

name

The name of this instance (a String object)

Caveat

Setters are used only internally during message construction. Avoid using them!

Attributes

name[RW]
parent[RW]
root[RW]

Public Class Methods

new(parent, root, name) click to toggle source
# File lib/edi4r.rb, line 139
def initialize (parent, root, name)
  @parent, @root, @name = parent, root, name
end