# File lib/activemessaging/base_message.rb, line 14 def dup super.tap do |copy| [:body, :id, :headers, :destination].each do |field_name| value = send field_name copy.send "#{field_name}=", (value.duplicable? ? value.dup : value) end end end
Generated with the Darkfish Rdoc Generator 2.