lib/edi4r.rb
def update_with( ni ) # :nodoc:
      return nil if ni.name != @name # Names must match; consider a raise!
      @status, @maxrep, @sg_name, @rep, @index, @level, @tnode = ni.status,\
      ni.maxrep, ni.sg_name, ni.inst_cnt, ni.index, ni.level, ni.is_tnode?
      self
    end
# Update attributes with information from a corresponding node instance
Update attributes with information from a corresponding node instance
Update attributes with information from a corresponding node instance
def update_with( ni ) 
      return nil if ni.name != @name 
      @status, @maxrep, @sg_name, @rep, @index, @level, @tnode = ni.status,\
      ni.maxrep, ni.sg_name, ni.inst_cnt, ni.index, ni.level, ni.is_tnode?
      self
    end
def update_with ( ni ) return nil if ni . name != @name @status , @maxrep , @sg_name , @rep , @index , @level , @tnode = ni . status , ni . maxrep , ni . sg_name , ni . inst_cnt , ni . index , ni . level , ni . is_tnode? self end
Update attributes with information from a corresponding node instance
Update attributes with information from a corresponding node instance
# :nodoc: # Names must match; consider a raise!
ni