lib/onix/onix_message.rb
# merge another message in this one
# current object erase other values
merge another message in this one
current object erase other values
merge another message in this one current object erase other values
def merge!(other)
      @products+=other.products
      @products=@products.uniq { |p| p.ean }
      init_vault
      self
    end
def merge! ( other ) @products += other . products @products = @products . uniq { | p | p . ean } init_vault self end
merge another message in this one
current object erase other values
merge another message in this one current object erase other values
other
<not_specific>