Class: EDI::Object

Inherits:
Object
  • Object
show all
Defined in:
lib/edi4r.rb

Direct Known Subclasses

Collection, DE, E::UNA

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent, root, name) ⇒ Object

Returns a new instance of Object



133
134
135
# File 'lib/edi4r.rb', line 133

def initialize (parent, root, name)
  @parent, @root, @name = parent, root, name
end

Instance Attribute Details

#nameObject

Returns the value of attribute name



131
132
133
# File 'lib/edi4r.rb', line 131

def name
  @name
end

#parentObject

Returns the value of attribute parent



131
132
133
# File 'lib/edi4r.rb', line 131

def parent
  @parent
end

#rootObject

Returns the value of attribute root



131
132
133
# File 'lib/edi4r.rb', line 131

def root
  @root
end