lib/edi4r.rb
# Similar to Array#push(), but automatically setting obj's
# parent and root to self and self's root. Returns obj.
Similar to Array#push(), but automatically setting obj's
parent and root to self and self's root. Returns obj.
Similar to Array#push () but automatically setting obj ' s parent and root to self and self ' s root . Returns obj .
def add( obj )
      push obj
      obj.parent = self
      obj.root = self.root
      obj
    end
def add ( obj ) push obj obj . parent = self obj . root = self . root obj end
Similar to Array#push(), but automatically setting obj's
parent and root to self and self's root.
Similar to Array#push () but automatically setting obj ' s parent and root to self and self ' s root .
obj