# File /home/matt/rubymail/mail/header.rb, line 111 def replace(other) unless other.kind_of?(Mail::Header) raise TypeError, "#{other.type.to_s} is not of type Mail::Header" end temp = other.dup @fields = temp.fields @mbox_from = temp.mbox_from self end