# File lib/action_mailer/vendor/tmail-1.2.7/tmail/attachments.rb, line 35 def attachments if multipart? parts.collect { |part| attachment(part) }.flatten.compact elsif attachment?(self) [attachment(self)] end end